Start to refactor nixedo homelab configuration
This commit is contained in:
parent
8505535291
commit
12adda4be4
2 changed files with 10 additions and 1 deletions
7
modules2/hosts/nixedo/imports.nix
Normal file
7
modules2/hosts/nixedo/imports.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
flake.modules.nixos."nixosConfigurations/nixedo".imports = with config.flake.modules.nixos; [
|
||||||
|
pc
|
||||||
|
];
|
||||||
|
}
|
|
@ -44,9 +44,11 @@
|
||||||
modules = [ config.flake.modules.nixos."nixosConfigurations/${hostname}" ];
|
modules = [ config.flake.modules.nixos."nixosConfigurations/${hostname}" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixedo = mkNixosConfiguration {
|
nixedo = mkNixosConfiguration rec {
|
||||||
hostname = "nixedo";
|
hostname = "nixedo";
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
|
|
||||||
|
modules = [ config.flake.modules.nixos."nixosConfigurations/${hostname}" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
t480 = mkNixosConfiguration rec {
|
t480 = mkNixosConfiguration rec {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue