diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-25 00:43:35 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-25 00:43:35 +0100 |
commit | f2bc9fcc92b6987e4371488822d9b137f217f32d (patch) | |
tree | 2f5d9ecd8c2d52c8b6c4f2db92bfd6e91c24c89f | |
parent | e62c44e2bbcbea99e2946d209f1abd6aaf41931d (diff) | |
download | Nix-f2bc9fcc92b6987e4371488822d9b137f217f32d.tar.gz Nix-f2bc9fcc92b6987e4371488822d9b137f217f32d.tar.zst Nix-f2bc9fcc92b6987e4371488822d9b137f217f32d.zip |
Add docker to dilion
-rw-r--r-- | modules/private/system/dilion.nix | 3 |
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 | ''; |