fix infect: lustrate /etc/selfprivacy/secrets.json

This commit is contained in:
Alexander 2023-11-21 15:28:21 +02:00
parent 401f6e0789
commit cae1b64689

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"