debugging...

apperently I only needed to change like 5 lines?? I locked the hell in
This commit is contained in:
2026-07-06 00:09:03 -05:00
parent 0ee2bdb3f8
commit 3a17b271f7
4 changed files with 29 additions and 18 deletions
+22 -16
View File
@@ -23,24 +23,30 @@
system = "x86_64-linux"; system = "x86_64-linux";
in in
{ {
# nixosConfigurations.pc = nixpkgs.lib.nixosSystem { nixosConfigurations.test = nixpkgs.lib.nixosSystem {
# inherit system; inherit system;
# specialArgs = { inherit inputs; }; specialArgs = {
# modules = [ inherit inputs;
# ./hosts/pc/configuration.nix disk = "nvme-SAMSUNG_MZVLB256HBHQ-000H1_S4GNNX2RC66163";
# home-manager.nixosModules.default };
modules = [
./hosts/test/configuration.nix
home-manager.nixosModules.default
# { {
# home-manager = { home-manager = {
# useGlobalPkgs = true; useGlobalPkgs = true;
# useUserPackages = true; useUserPackages = true;
# backupFileExtension = "backup"; backupFileExtension = "backup";
# users.river = import ./home; users.river = import ./home;
# }; };
# } }
# ];
# }; inputs.disko.nixosModules.disko
./disks/normal.nix
];
};
}; };
} }
+1 -1
View File
@@ -4,7 +4,7 @@
{ {
imports = [ imports = [
./hardware-configuration.nix #./hardware-configuration.nix
../../modules/core ../../modules/core
../../modules/networking ../../modules/networking
../../modules/virtualization ../../modules/virtualization
+2
View File
@@ -90,6 +90,8 @@ in
}; };
}; };
system.stateVersion = "26.11";
boot.loader = boot.loader =
if cfg.bootloader.type == "grub" then if cfg.bootloader.type == "grub" then
{ {
+4 -1
View File
@@ -11,7 +11,6 @@ in
config = lib.mkMerge [ config = lib.mkMerge [
(lib.mkIf cfg.qemu.enable { (lib.mkIf cfg.qemu.enable {
virtualisation = { virtualisation = {
containers.enable = cfg.qemu.containers;
libvirtd = { libvirtd = {
enable = true; enable = true;
qemu = { qemu = {
@@ -34,6 +33,10 @@ in
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
}) })
(lib.mkIf (cfg.qemu.enable && cfg.qemu.containers) {
virtualisation.containers.enable = true;
})
(lib.mkIf cfg.qemu.enable { (lib.mkIf cfg.qemu.enable {
boot.kernelModules = cfg.qemu.bootModules; boot.kernelModules = cfg.qemu.bootModules;
}) })