refactor: move user configs into separate dir

This commit is contained in:
2025-05-17 23:58:59 -07:00
parent 4807a091c4
commit 80b7bf0ed4
10 changed files with 119 additions and 135 deletions

View File

@@ -34,6 +34,7 @@
./modules
./hosts/common.nix
./hosts/Yura-PC
./users/cazzzer
# https://nix-community.github.io/home-manager/index.xhtml#sec-flakes-nixos-module
home-manager.nixosModules.home-manager
{
@@ -52,7 +53,9 @@
modules = [
./modules
./hosts/common.nix
./hosts/hw-vm.nix
./hosts/vm
./users/cazzzer
];
};
router = nixpkgs.lib.nixosSystem {
@@ -62,6 +65,7 @@
./modules
./hosts/common.nix
./hosts/router
./users/cazzzer
];
};
};
@@ -72,11 +76,25 @@
modules = [
./modules
./hosts/common.nix
./hosts/vm/proxmox.nix
./hosts/hw-proxmox.nix
./hosts/vm
./users/cazzzer
];
format = "proxmox";
};
};
vm-proxmox = let
image = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./modules
./hosts/common.nix
./hosts/hw-proxmox.nix
./hosts/vm
./users/cazzzer
];
};
in
image.config.system.build.VMA;
};
}