Nix : Rebuild on boot.

This commit is contained in:
Dmitry Voronin 2024-01-31 17:34:34 +03:00
parent 6af43e9c92
commit ccb9f5358a

View file

@ -42,7 +42,7 @@ function nix_rebuild() {
[[ "${target}" = "" ]] && target="${HOSTNAME}"
cd ${HOME}/.config/linux/system
nixos-rebuild switch --flake .#${target}
nixos-rebuild boot --flake .#${target}
cd -
}