about summary refs log tree commit diff stats
path: root/system/libvirtd/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-20 07:48:51 +0200
committerSoispha <soispha@vhack.eu>2023-05-20 08:02:03 +0200
commitc84419cb781ea162c814455351faf6a6558e7a81 (patch)
treea493044c9d87f8d9d1499af0cb521a8f20df7773 /system/libvirtd/default.nix
parentRefactor(system/services/printing): Split printing and scanning (diff)
downloadnixos-config-c84419cb781ea162c814455351faf6a6558e7a81.zip
Refactor(system/users): Add the groups in the file, giving context
Diffstat (limited to '')
-rw-r--r--system/libvirtd/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/libvirtd/default.nix b/system/libvirtd/default.nix
index 5deab740..71a864b3 100644
--- a/system/libvirtd/default.nix
+++ b/system/libvirtd/default.nix
@@ -1,9 +1,5 @@
 # vim: ts=2
-{
-  config,
-  pkgs,
-  ...
-}: {
+{pkgs, ...}: {
   virtualisation = {
     #    cores = 8;
     #    diskSize = 25000;
@@ -25,4 +21,7 @@
       };
     };
   };
+  users.users.soispha.extraGroups = [
+    "libvirtd" # to run libvirt stuff as this user
+  ];
 }