aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/private/system/dilion.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/private/system/dilion.nix b/modules/private/system/dilion.nix
index 7224858..6c72fa6 100644
--- a/modules/private/system/dilion.nix
+++ b/modules/private/system/dilion.nix
@@ -74,8 +74,9 @@
74 install -m 0750 -o backup -g root -d /var/lib/backup/eldiron 74 install -m 0750 -o backup -g root -d /var/lib/backup/eldiron
75 ''; 75 '';
76 76
77 virtualisation.docker.enable = true;
77 virtualisation.libvirtd.enable = true; 78 virtualisation.libvirtd.enable = true;
78 users.extraUsers.immae.extraGroups = [ "libvirtd" ]; 79 users.extraUsers.immae.extraGroups = [ "libvirtd" "docker" ];
79 systemd.services.libvirtd.postStart = '' 80 systemd.services.libvirtd.postStart = ''
80 install -m 0770 -g libvirtd -d /var/lib/libvirt/images 81 install -m 0770 -g libvirtd -d /var/lib/libvirt/images
81 ''; 82 '';