Nix : Use --upgrade-all.
This commit is contained in:
parent
36311e8315
commit
2ce34c17af
|
@ -54,7 +54,7 @@ function nix_upgrade() {
|
||||||
local target="${1}"
|
local target="${1}"
|
||||||
[[ "${target}" = "" ]] && target="${HOSTNAME}"
|
[[ "${target}" = "" ]] && target="${HOSTNAME}"
|
||||||
|
|
||||||
nixos-rebuild switch --upgrade -I nixos-config=/root/.config/linux/system/${target}/Configuration.nix
|
nixos-rebuild switch --upgrade-all -I nixos-config=/root/.config/linux/system/${target}/Configuration.nix
|
||||||
}
|
}
|
||||||
|
|
||||||
# Free up root space.
|
# Free up root space.
|
||||||
|
|
Reference in a new issue