fix infect: lustrate /etc/selfprivacy/secrets.json
continuous-integration/drone/push Build is failing Details

hetzner-flakes
Alexander 2023-11-21 15:28:21 +02:00
parent 401f6e0789
commit cae1b64689
1 changed files with 3 additions and 2 deletions

View File

@ -305,8 +305,9 @@ infect() {
# Stage the Nix coup d'état
touch /etc/NIXOS
echo etc/nixos > /etc/NIXOS_LUSTRATE
echo etc/resolv.conf >> /etc/NIXOS_LUSTRATE
echo etc/nixos > /etc/NIXOS_LUSTRATE
echo etc/resolv.conf >> /etc/NIXOS_LUSTRATE
echo ${SECRETS_FILEPATH} >> /etc/NIXOS_LUSTRATE
rm -rf /boot.bak
((isEFI)) && umount "$ESP"