summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/default.nix1
-rw-r--r--sys/users/default.nix2
-rw-r--r--sys/virtualisation/default.nix3
3 files changed, 5 insertions, 1 deletions
diff --git a/sys/default.nix b/sys/default.nix
index a60a9bb..a01da4d 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -13,6 +13,7 @@
     ./sound
     ./systemd
     ./users
+    ./virtualisation
     ./xdg
   ];
 }
diff --git a/sys/users/default.nix b/sys/users/default.nix
index 8cef68a..8ff713c 100644
--- a/sys/users/default.nix
+++ b/sys/users/default.nix
@@ -11,7 +11,7 @@
       home = "/home/sils";
       shell = pkgs.zsh;
       initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/";
-      extraGroups = ["wheel" "networkmanager" "video"];
+      extraGroups = ["wheel" "networkmanager" "video" "libvirtd"];
     };
   };
   services.xserver.displayManager.autoLogin = {
diff --git a/sys/virtualisation/default.nix b/sys/virtualisation/default.nix
new file mode 100644
index 0000000..f485cd0
--- /dev/null
+++ b/sys/virtualisation/default.nix
@@ -0,0 +1,3 @@
+{...}: {
+  virtualisation.libvirtd.enable = true;
+}