Merge pull request #967 from Ma27/hydra-system-users

Set `isSystemUser = true;` for each statically declared user
This commit is contained in:
Eelco Dolstra 2021-05-24 16:09:15 +02:00 committed by GitHub
commit cdba2b86c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};