Set isSystemUser = true; for each statically declared user

This is needed to evaluate the module on 21.05.
This commit is contained in:
Maximilian Bosch 2021-05-24 14:47:30 +02:00
parent 67b6f0d7ed
commit 302f5e0de9
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -204,6 +204,7 @@ in
group = "hydra";
createHome = true;
home = baseDir;
isSystemUser = true;
useDefaultShell = true;
};
@ -211,12 +212,14 @@ in
{ description = "Hydra queue runner";
group = "hydra";
useDefaultShell = true;
isSystemUser = true;
home = "${baseDir}/queue-runner"; # really only to keep SSH happy
};
users.extraUsers.hydra-www =
{ description = "Hydra web server";
group = "hydra";
isSystemUser = true;
useDefaultShell = true;
};