git.delta.rocks / jrsonnet / refs/commits / d675bc048db0

difftreelog

fix impermanence compat

Yaroslav Bolyukin2024-07-07parent: #c055cb1.patch.diff
in: trunk

1 file changed

modifiednixos/secrets.nixdiffbeforeafterboth
130 # nixos-impermanence compatibility: secrets are encrypted by host-key,130 # nixos-impermanence compatibility: secrets are encrypted by host-key,
131 # but with impermanence we expect that the host-key is installed by131 # but with impermanence we expect that the host-key is installed by
132 # persist-file activation script.132 # persist-file activation script.
133 ++ (lib.optional (config.system.activationScripts ? "persist-file") "persist-file")133 ++ (lib.optional (config.system.activationScripts ? "persist-files") "persist-files")
134 ) ''134 ) ''
135 1>&2 echo "setting up secrets"135 1>&2 echo "setting up secrets"
136 ${pkgs.fleet-install-secrets}/bin/fleet-install-secrets install ${secretsFile}136 ${pkgs.fleet-install-secrets}/bin/fleet-install-secrets install ${secretsFile}