Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
55 lines (53 loc) · 1.59 KB
/
Copy pathflake.nix
File metadata and controls
55 lines (53 loc) · 1.59 KB
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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# so that all other inputs use the same version of nixpkgs in order to avoid duplication
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
};
zig-overlay = {
url = "github:mitchellh/zig-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
go-overlay = {
url = "github:purpleclay/go-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
nub-overlay = {
url = "github:alleneubank/nub-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
claude-code-nix = {
url = "github:sadjow/claude-code-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-wsl, zig-overlay, rust-overlay, go-overlay, nub-overlay, claude-code-nix, home-manager, ... }: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.default
./configuration.nix
home-manager.nixosModules.home-manager
{
nixpkgs.overlays = [
zig-overlay.overlays.default
rust-overlay.overlays.default
go-overlay.overlays.default
nub-overlay.overlays.default
claude-code-nix.overlays.default
];
}
];
};
};
}