From acb91a9f9bc58cec178f737ca0209bbd5b4e0190 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 21 Nov 2017 17:29:06 +0100 Subject: *poke* --- hel.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/hel.nix b/hel.nix index a7584203..f586e8dd 100644 --- a/hel.nix +++ b/hel.nix @@ -57,10 +57,6 @@ # } # ]; - virtualisation.docker = { - enable = true; - }; - environment.systemPackages = with pkgs; [ git slock @@ -308,6 +304,8 @@ extraUsers.root = { inherit (import ./users/gkleen.nix) shell hashedPassword; }; + extraUsers.gkleen.extraGroups = [ "media" "networkmanager" "docker" ]; + extraUsers.media = { group = "media"; home = "/var/media"; @@ -326,13 +324,7 @@ extraGroups = { network = {}; media = { - members = [ "gkleen" "uucp" "media" ]; - }; - networkmanager = { - members = [ "gkleen" ]; - }; - docker = { - members = [ "gkleen" ]; + members = [ "uucp" "media" ]; }; }; }; -- cgit v1.2.3