debugging...
apperently I only needed to change like 5 lines?? I locked the hell in
This commit is contained in:
@@ -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;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user