mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 12:01:27 +00:00
fix infect: lustrate /etc/selfprivacy/secrets.json
This commit is contained in:
parent
401f6e0789
commit
cae1b64689
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue