forked from lix-project/hydra
Merge pull request #967 from Ma27/hydra-system-users
Set `isSystemUser = true;` for each statically declared user
This commit is contained in:
commit
cdba2b86c0
|
@ -204,6 +204,7 @@ in
|
||||||
group = "hydra";
|
group = "hydra";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
home = baseDir;
|
home = baseDir;
|
||||||
|
isSystemUser = true;
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -211,12 +212,14 @@ in
|
||||||
{ description = "Hydra queue runner";
|
{ description = "Hydra queue runner";
|
||||||
group = "hydra";
|
group = "hydra";
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
|
isSystemUser = true;
|
||||||
home = "${baseDir}/queue-runner"; # really only to keep SSH happy
|
home = "${baseDir}/queue-runner"; # really only to keep SSH happy
|
||||||
};
|
};
|
||||||
|
|
||||||
users.extraUsers.hydra-www =
|
users.extraUsers.hydra-www =
|
||||||
{ description = "Hydra web server";
|
{ description = "Hydra web server";
|
||||||
group = "hydra";
|
group = "hydra";
|
||||||
|
isSystemUser = true;
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue