diff options
author | Soispha <soispha@vhack.eu> | 2023-05-20 07:48:51 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-20 08:02:03 +0200 |
commit | c84419cb781ea162c814455351faf6a6558e7a81 (patch) | |
tree | a493044c9d87f8d9d1499af0cb521a8f20df7773 /system/libvirtd/default.nix | |
parent | Refactor(system/services/printing): Split printing and scanning (diff) | |
download | nixos-config-c84419cb781ea162c814455351faf6a6558e7a81.zip |
Refactor(system/users): Add the groups in the file, giving context
Diffstat (limited to '')
-rw-r--r-- | system/libvirtd/default.nix | 9 |
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 + ]; } |