mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-11-01 00:29:57 +03:00
Moved bootctl.
This commit is contained in:
parent
da2ccab43f
commit
e1f1187a62
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue