diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-10-19 21:38:12 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-10-19 21:38:12 -0400 |
commit | a063c3f934c8bb7d2bc473b25c17ced48d6c7e95 (patch) | |
tree | 6ddb6428de8b2300e09676f7d61591a5408db6e6 /config/users.nix | |
parent | fbf1793cef53f325d609a6b5a93f43c836134cf6 (diff) |
add: Stats.nix config
Diffstat (limited to 'config/users.nix')
-rw-r--r-- | config/users.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/config/users.nix b/config/users.nix index a1a4a15..2c660b7 100644 --- a/config/users.nix +++ b/config/users.nix @@ -1,5 +1,6 @@ { config, lib, pkgs, ... }: -{ +let aliases = import ../data/aliases.nix; +in { users = { defaultUserShell = pkgs.fish; extraUsers = { @@ -29,12 +30,20 @@ uid = 503; home = "/var/lib/linoquotes"; }; + stats = { + name = "stats"; + group = "stats"; + createHome = true; + uid = 504; + home = aliases.services.stats.home; + }; }; extraGroups = { fcgi = { name = "fcgi"; gid = 500; }; plugdev = { name = "plugdev"; gid = 501; }; systemhttpd = { name = "systemhttpd"; gid = 502; }; linoquotes = { name = "linoquotes"; gid = 503; }; + stats = { name = "stats"; gid = 504; }; }; }; } |