From e731a20497281b5affce3747b7e80269a2310271 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Fri, 27 Jun 2025 09:03:39 +0200 Subject: [PATCH] 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`. --- clanServices/users/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clanServices/users/default.nix b/clanServices/users/default.nix index 6eff89289..80baf2c60 100644 --- a/clanServices/users/default.nix +++ b/clanServices/users/default.nix @@ -41,7 +41,7 @@ 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.deploy = false;