feat (hosts/mystra)!: server configuration
This commit is contained in:
parent
217802ef93
commit
e87b3e2955
7 changed files with 152 additions and 10 deletions
20
flake.nix
20
flake.nix
|
|
@ -7,10 +7,18 @@
|
|||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-wsl.url = "github:nix-community/NixOS-WSL/release-25.11";
|
||||
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
|
||||
disko.url = "github:nix-community/disko/ff442f5d1425feb86344c028298548024f21256d";
|
||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, home-manager, nixos-wsl, ... }@inputs:
|
||||
{
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nixos-wsl,
|
||||
disko,
|
||||
...
|
||||
}@inputs:
|
||||
{
|
||||
nixosConfigurations.selune = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
|
@ -40,6 +48,16 @@
|
|||
./home
|
||||
];
|
||||
};
|
||||
nixosConfigurations.mystra = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/mystra
|
||||
disko.nixosModules.disko
|
||||
home-manager.nixosModules.home-manager
|
||||
./home
|
||||
];
|
||||
};
|
||||
homeManagerModules.default = ./home;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue