-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
68 lines (58 loc) · 1.51 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
description = "My silly flake config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
frosty-vim = {
url = "github:SystematicError/frosty-vim";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixcord = {
url = "github:KaylorBen/nixcord";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-csshacks = {
url = "github:MrOtherGuy/firefox-csshacks";
flake = false;
};
prism-themes = {
url = "github:PrismLauncher/Themes";
flake = false;
};
};
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: let
inherit (self) outputs;
specialArgs = {inherit inputs outputs;};
extraSpecialArgs = specialArgs;
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in {
nixosConfigurations = {
snowflake = nixpkgs.lib.nixosSystem {
inherit specialArgs;
modules = [./hosts/snowflake/configuration.nix];
};
};
homeConfigurations = {
"systematic@snowflake" = home-manager.lib.homeManagerConfiguration {
inherit pkgs extraSpecialArgs;
modules = [./users/systematic/home.nix];
};
};
};
}