summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-11-21 17:29:06 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-11-21 17:29:06 +0100
commitacb91a9f9bc58cec178f737ca0209bbd5b4e0190 (patch)
tree56bb449d5c2d21278ecfcec88a20d52d62d114ed /hel.nix
parentf39d15e9a457235215f3efad616293f555b0ac5d (diff)
downloadnixos-acb91a9f9bc58cec178f737ca0209bbd5b4e0190.tar
nixos-acb91a9f9bc58cec178f737ca0209bbd5b4e0190.tar.gz
nixos-acb91a9f9bc58cec178f737ca0209bbd5b4e0190.tar.bz2
nixos-acb91a9f9bc58cec178f737ca0209bbd5b4e0190.tar.xz
nixos-acb91a9f9bc58cec178f737ca0209bbd5b4e0190.zip
*poke*
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix14
1 files 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 @@
57 # } 57 # }
58 # ]; 58 # ];
59 59
60 virtualisation.docker = {
61 enable = true;
62 };
63
64 environment.systemPackages = with pkgs; [ 60 environment.systemPackages = with pkgs; [
65 git 61 git
66 slock 62 slock
@@ -308,6 +304,8 @@
308 304
309 extraUsers.root = { inherit (import ./users/gkleen.nix) shell hashedPassword; }; 305 extraUsers.root = { inherit (import ./users/gkleen.nix) shell hashedPassword; };
310 306
307 extraUsers.gkleen.extraGroups = [ "media" "networkmanager" "docker" ];
308
311 extraUsers.media = { 309 extraUsers.media = {
312 group = "media"; 310 group = "media";
313 home = "/var/media"; 311 home = "/var/media";
@@ -326,13 +324,7 @@
326 extraGroups = { 324 extraGroups = {
327 network = {}; 325 network = {};
328 media = { 326 media = {
329 members = [ "gkleen" "uucp" "media" ]; 327 members = [ "uucp" "media" ];
330 };
331 networkmanager = {
332 members = [ "gkleen" ];
333 };
334 docker = {
335 members = [ "gkleen" ];
336 }; 328 };
337 }; 329 };
338 }; 330 };