Nix : Use --upgrade-all.

This commit is contained in:
Dmitry Voronin 2024-01-26 03:10:32 +03:00
parent 36311e8315
commit 2ce34c17af

View file

@ -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.