From a063c3f934c8bb7d2bc473b25c17ced48d6c7e95 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 19 Oct 2017 21:38:12 -0400 Subject: add: Stats.nix config --- config/users.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'config') 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; }; }; }; } -- cgit v1.2.3