modules/users: Fix the password deployment

The password needs to be available prior to logging in,
this is why we need to set `neededFor = users`.
This commit is contained in:
a-kenji
2025-06-27 09:03:39 +02:00
parent 2dd1e31e97
commit e731a20497

View File

@@ -41,7 +41,7 @@
clan.core.vars.generators."user-password-${settings.user}" = { clan.core.vars.generators."user-password-${settings.user}" = {
# files.user-password-hash.neededFor = "users"; files.user-password-hash.neededFor = "users";
files.user-password-hash.restartUnits = lib.optional (config.services.userborn.enable) "userborn.service"; files.user-password-hash.restartUnits = lib.optional (config.services.userborn.enable) "userborn.service";
files.user-password.deploy = false; files.user-password.deploy = false;