refactor: remove Nix installer script after installation to clean up environment
All checks were successful
Nix Format Check / check-format (push) Successful in 38s

This commit is contained in:
Menno van Leeuwen 2025-01-22 16:05:23 +01:00
parent d1ae208acf
commit ded7a858da
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -140,6 +140,7 @@ install_nix() {
die "Failed to download Nix installer"
sh install-nix.sh install || die "Failed to install Nix"
rm install-nix.sh || die "Failed to remove Nix installer"
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh || die "Failed to source Nix profile"
}