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";
in
{
# nixosConfigurations.pc = nixpkgs.lib.nixosSystem {
# inherit system;
# specialArgs = { inherit inputs; };
# modules = [
# ./hosts/pc/configuration.nix
# home-manager.nixosModules.default
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
disk = "nvme-SAMSUNG_MZVLB256HBHQ-000H1_S4GNNX2RC66163";
};
modules = [
./hosts/test/configuration.nix
home-manager.nixosModules.default
# {
# home-manager = {
# useGlobalPkgs = true;
# useUserPackages = true;
{
home-manager = {
useGlobalPkgs = 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 = [
./hardware-configuration.nix
#./hardware-configuration.nix
../../modules/core
../../modules/networking
../../modules/virtualization
+2
View File
@@ -90,6 +90,8 @@ in
};
};
system.stateVersion = "26.11";
boot.loader =
if cfg.bootloader.type == "grub" then
{
+4 -1
View File
@@ -11,7 +11,6 @@ in
config = lib.mkMerge [
(lib.mkIf cfg.qemu.enable {
virtualisation = {
containers.enable = cfg.qemu.containers;
libvirtd = {
enable = true;
qemu = {
@@ -34,6 +33,10 @@ in
programs.virt-manager.enable = true;
})
(lib.mkIf (cfg.qemu.enable && cfg.qemu.containers) {
virtualisation.containers.enable = true;
})
(lib.mkIf cfg.qemu.enable {
boot.kernelModules = cfg.qemu.bootModules;
})