summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-18 15:00:15 +0200
committerAlan Pearce2024-05-18 19:04:50 +0200
commit67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94 (patch)
treebb52dfaa97366bd7142f05238f08db38378224b0
parentcb754c97d469796cfe7019f6ec036f4a60ffc27d (diff)
downloadnixfiles-67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94.tar.lz
nixfiles-67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94.tar.zst
nixfiles-67de7a4fcd5eef3dd595805f87e25dd7e1ea9c94.zip
update virtualisation settings
-rw-r--r--system/prefect.nix1
-rw-r--r--system/settings/configuration/user.nix1
-rw-r--r--system/settings/services/virtualisation.nix4
3 files changed, 5 insertions, 1 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 28905d10..8474b0a5 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -17,6 +17,7 @@
     ./settings/hardware/keyboard.nix
     ./settings/hardware/keyboard-lofree.nix
     ./settings/services/syncthing.nix
+    ./settings/services/virtualisation.nix
     ./settings/services/zeroconf.nix
     ./settings/user-interface.nix
     ./settings/programs/base.nix
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
   ];
 }