summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2024-05-18 15:00:15 +0200
committerAlan Pearce2024-05-18 19:04:50 +0200
commit67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94 (patch)
treebb52dfaa97366bd7142f05238f08db38378224b0 /system/settings
parentcb754c97d469796cfe7019f6ec036f4a60ffc27d (diff)
downloadnixfiles-67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94.tar.lz
nixfiles-67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94.tar.zst
nixfiles-67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94.zip
update virtualisation settings
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/configuration/user.nix1
-rw-r--r--system/settings/services/virtualisation.nix4
2 files changed, 4 insertions, 1 deletions
diff --git a/system/settings/configuration/user.nix b/system/settings/configuration/user.nix
index 3a7f9620..9d6fed69 100644
--- a/system/settings/configuration/user.nix
+++ b/system/settings/configuration/user.nix
@@ -15,6 +15,7 @@
       "dialout"
       "pipewire"
       "networkmanager"
+      "libvirtd"
       "video"
     ];
     initialPassword = "password";
diff --git a/system/settings/services/virtualisation.nix b/system/settings/services/virtualisation.nix
index dbe041c7..172dfcec 100644
--- a/system/settings/services/virtualisation.nix
+++ b/system/settings/services/virtualisation.nix
@@ -12,9 +12,11 @@
       runAsRoot = false;
     };
   };
+  programs.virt-manager = {
+    enable = true;
+  };
 
   environment.systemPackages = with pkgs; [
-    virt-manager
     OVMF
   ];
 }