Moved bootctl.

This commit is contained in:
samoht9277 2024-02-07 12:22:48 -03:00
parent da2ccab43f
commit e1f1187a62
No known key found for this signature in database
GPG key ID: 612AC42768391756

View file

@ -375,11 +375,11 @@ infect() {
curl -L https://nixos.org/nix/install | sh -s -- --no-channel-add curl -L https://nixos.org/nix/install | sh -s -- --no-channel-add
bootctl install --graceful # Add necessary boot files.
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source ~/.nix-profile/etc/profile.d/nix.sh source ~/.nix-profile/etc/profile.d/nix.sh
bootctl install --graceful # Add necessary boot files.
[[ -z "$NIX_CHANNEL" ]] && NIX_CHANNEL="nixos-23.05" [[ -z "$NIX_CHANNEL" ]] && NIX_CHANNEL="nixos-23.05"
nix-channel --remove nixpkgs nix-channel --remove nixpkgs
nix-channel --add "https://nixos.org/channels/$NIX_CHANNEL" nixos nix-channel --add "https://nixos.org/channels/$NIX_CHANNEL" nixos