mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-24 20:51:27 +00:00
infect: remove nix profile in the end
This commit is contained in:
parent
8ce494c490
commit
8f00617b3d
|
@ -520,7 +520,8 @@ infect() {
|
|||
fi
|
||||
|
||||
# Remove nix installed by the "install" script.
|
||||
rm -fv /nix/var/nix/profiles/default*
|
||||
rm -fv /nix/var/nix/profiles/default* /root/.nix-profile
|
||||
rm -rv /nix/var/nix/profiles/per-user
|
||||
/nix/var/nix/profiles/system/sw/bin/nix-collect-garbage
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue