-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
40 lines (36 loc) · 1 KB
/
flake.nix
File metadata and controls
40 lines (36 loc) · 1 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
{
outputs = { nixpkgs, ... }@flakeInputs: {
nixosConfigurations = {
loftserveren01 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit flakeInputs; };
modules = [
./nixos
{
system.stateVersion = "25.05";
networking.hostName = "loftserveren01";
}
flakeInputs.home-manager.nixosModules.home-manager
flakeInputs.sops.nixosModules.sops
flakeInputs.disko.nixosModules.disko
];
};
};
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
sops = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}