mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 06:04:33 +00:00
Define individual hosts in hosts/
This commit is contained in:
parent
9f53049813
commit
f35c496905
10
flake.nix
10
flake.nix
|
@ -14,12 +14,8 @@
|
|||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = ["x86_64-linux"];
|
||||
|
||||
flake = {
|
||||
nixosConfigurations = {
|
||||
vboxnix = nixpkgs.lib.nixosSystem {
|
||||
modules = [ ./system ./hosts/vbox_nix ];
|
||||
};
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
./hosts
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
11
hosts/default.nix
Normal file
11
hosts/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{self, inputs, ...}: {
|
||||
flake.nixosConfigurations = let
|
||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||
specialArgs = {inherit inputs self;};
|
||||
in {
|
||||
vboxnix = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [ ../system ./vbox_nix ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue