-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
45 lines (37 loc) · 1.11 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-compat.follows = "";
};
nix-colorizer.url = "github:nutsalhan87/nix-colorizer/v0.2";
rycee-nur-expressions = {
url = "gitlab:rycee/nur-expressions";
flake = false;
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs: {
nixosConfigurations = import ./hosts {
lib = nixpkgs.lib;
inherit inputs;
};
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-classic;
packages = import ./packages {
inherit nixpkgs;
inherit nixpkgs-unstable;
};
overlays = import ./overlays;
devShells = import ./devshells { inherit nixpkgs; };
};
}