nixos/userborn: create passwordFilesLocation before userborn run if n… (#367323)

This commit is contained in:
nikstur
2025-02-01 22:15:24 +01:00
committed by GitHub
+1 -1
View File
@@ -141,7 +141,7 @@ in
ExecStart = "${lib.getExe cfg.package} ${userbornConfigJson} ${cfg.passwordFilesLocation}";
ExecStartPre = lib.mkMerge [
(lib.mkIf (!config.system.etc.overlay.mutable) [
(lib.mkIf (cfg.passwordFilesLocation != "/etc") [
"${pkgs.coreutils}/bin/mkdir -p ${cfg.passwordFilesLocation}"
])