summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-04-15 16:26:59 +0200
committerlassulus <git@lassul.us>2023-04-15 17:01:36 +0200
commite5639658b03e647121ee15e3c84b1d4dd7b90cd6 (patch)
tree4c7181cd227cd6d97579e1144734037f6693386b /krebs/3modules
parent7214a7658fb343f29622fc0b89ba8aaad8b51bf8 (diff)
konsens: define isSystemUser & group
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/konsens.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/konsens.nix b/krebs/3modules/konsens.nix
index 81486810b..439bcc7f4 100644
--- a/krebs/3modules/konsens.nix
+++ b/krebs/3modules/konsens.nix
@@ -39,10 +39,13 @@ let
};
imp = {
+ users.groups.konsens.gid = genid "konsens";
users.users.konsens = rec {
name = "konsens";
+ group = "konsens";
uid = genid name;
home = "/var/lib/konsens";
+ isSystemUser = true;
createHome = true;
};