[testvm] integrate into hosts.nix
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m24s
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m24s
This commit is contained in:
@@ -66,6 +66,10 @@
|
|||||||
mac = "D0:E5:CA:F0:D7:E0";
|
mac = "D0:E5:CA:F0:D7:E0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
testvm = {
|
||||||
|
type = "host";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,14 +104,7 @@ in (utils.lib.eachSystem (builtins.filter filter_system utils.lib.defaultSystems
|
|||||||
utils = import ./machines/modules/host_builder.nix ( inputs // { inherit inputs; self = self; hosts = hosts; });
|
utils = import ./machines/modules/host_builder.nix ( inputs // { inherit inputs; self = self; hosts = hosts; });
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = utils.buildHost hosts.malobeo.hosts // {
|
nixosConfigurations = utils.buildHost hosts.malobeo.hosts;
|
||||||
testvm = utils.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs.inputs = inputs;
|
|
||||||
specialArgs.self = self;
|
|
||||||
modules = utils.defaultModules ++ [ ./testvm ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nixosModules.malobeo = {
|
nixosModules.malobeo = {
|
||||||
host.imports = [ ./machines/durruti/host_config.nix ];
|
host.imports = [ ./machines/durruti/host_config.nix ];
|
||||||
|
|||||||
Reference in New Issue
Block a user