summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/thinklappi/default.nix2
-rw-r--r--sys/default.nix1
-rw-r--r--sys/users/default.nix2
-rw-r--r--sys/virtualisation/default.nix3
4 files changed, 5 insertions, 3 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix
index e212661..06fd052 100644
--- a/hosts/thinklappi/default.nix
+++ b/hosts/thinklappi/default.nix
@@ -15,8 +15,6 @@
     pulseaudio.enable = false;
   };
 
-  virtualisation.waydroid.enable = false; # Android emulation
-
   security = {
     rtkit.enable = true;
     pam.services.swaylock = {};
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;
+}