summary refs log tree commit diff
path: root/modules/config
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-22 13:56:26 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-22 13:56:26 +0000
commitd7406769acd06fbd83ab066da9a0fca985f71c2d (patch)
tree43b11238775764d5bef9131a9927b085c8dcf44e /modules/config
parentb7dab319e555f7bf1ba7c8f9445b23e48d0836a2 (diff)
downloadnixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.tar
nixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.tar.gz
nixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.tar.bz2
nixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.tar.lz
nixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.tar.xz
nixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.tar.zst
nixpkgs-d7406769acd06fbd83ab066da9a0fca985f71c2d.zip
Making /var/run/utmp writable by the 'utmp' group.
Then, people can choose a setgid utmp for their xterm, konsole or whatever to get the terminals
reported there.


svn path=/nixos/trunk/; revision=21238
Diffstat (limited to 'modules/config')
-rw-r--r--modules/config/users-groups.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/config/users-groups.nix b/modules/config/users-groups.nix
index 72d3e21f203..cb84117090b 100644
--- a/modules/config/users-groups.nix
+++ b/modules/config/users-groups.nix
@@ -90,6 +90,9 @@ let
           { name = "nixbld";
             gid = ids.gids.nixbld;
           }
+          { name = "utmp";
+            gid = ids.gids.utmp;
+          }
         ];
 
       addAttrs =