From 4b78fb81244864bcc10639b8b9c3102cd9f1fc15 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 20 May 2019 09:19:40 +0800 Subject: [PATCH] enable docker --- nixbld-etc-nixos/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 99c9179..5e1573f 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -69,11 +69,11 @@ users.extraGroups.plugdev = { }; users.extraUsers.sb = { isNormalUser = true; - extraGroups = ["wheel" "plugdev" "dialout" "lp" "scanner" "wireshark"]; + extraGroups = ["wheel" "plugdev" "dialout" "lp" "scanner" "wireshark" "docker"]; }; users.extraUsers.rj = { isNormalUser = true; - extraGroups = ["wheel" "plugdev" "dialout" "wireshark"]; + extraGroups = ["wheel" "plugdev" "dialout" "wireshark" "docker"]; }; users.extraUsers.astro = { isNormalUser = true; @@ -155,6 +155,7 @@ ACTION=="add", SUBSYSTEM=="tty", \ nix.sandboxPaths = ["/opt"]; virtualisation.libvirtd.enable = true; + virtualisation.docker.enable = true; services.gitea = { enable = true;