nixos/userborn: create passwordFilesLocation before userborn run if n… (#367323)
This commit is contained in:
@@ -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}"
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user