Don't createHome for the hydra user (#110722)

Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
This commit is contained in:
Gabriel Gonzalez 2021-01-29 01:22:49 -08:00 committed by GitHub
parent 7944650bb7
commit 80f6769ebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,7 @@ in
users.users.hydra =
{ description = "Hydra";
group = "hydra";
createHome = true;
# We don't enable `createHome` here because the creation of the home directory is handled by the hydra-init service below.
home = baseDir;
useDefaultShell = true;
uid = config.ids.uids.hydra;