Nix : Rebuild on boot.
This commit is contained in:
parent
6af43e9c92
commit
ccb9f5358a
|
@ -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 -
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue