ma: isSystemUser everything

This commit is contained in:
makefu 2021-06-05 15:08:59 +02:00
parent 18c1da0012
commit e044c3121a
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
4 changed files with 5 additions and 1 deletions

View File

@ -268,6 +268,7 @@ let
uid = genid "airdcpp"; uid = genid "airdcpp";
home = cfg.stateDir; home = cfg.stateDir;
createHome = true; createHome = true;
isSystemUser = true;
inherit (cfg) extraGroups; inherit (cfg) extraGroups;
}; };
groups.airdcpp.gid = genid "airdcpp"; groups.airdcpp.gid = genid "airdcpp";

View File

@ -22,6 +22,7 @@ in {
uid = genid "auphonic"; uid = genid "auphonic";
group = "nginx"; group = "nginx";
useDefaultShell = true; useDefaultShell = true;
isSystemUser = true;
openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ]; openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ];
}; };

View File

@ -33,10 +33,11 @@ let
uhubDir = "/var/lib/uhub"; uhubDir = "/var/lib/uhub";
in { in {
users.extraUsers."${ddclientUser}" = { users.users."${ddclientUser}" = {
uid = genid "ddclient"; uid = genid "ddclient";
description = "ddclient daemon user"; description = "ddclient daemon user";
home = stateDir; home = stateDir;
isSystemUser = true;
createHome = true; createHome = true;
}; };

View File

@ -34,6 +34,7 @@ in {
description = "ddclient daemon user"; description = "ddclient daemon user";
home = stateDir; home = stateDir;
createHome = true; createHome = true;
isSystemUser = true;
}; };
systemd.services = { systemd.services = {