diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index 63ed31f..cc18318 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -54,7 +54,7 @@ function nix_upgrade() { local target="${1}" [[ "${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.