diff --git a/zsh/.zshrc.d/functions.zsh b/zsh/.zshrc.d/functions.zsh index b55bb57..6222864 100644 --- a/zsh/.zshrc.d/functions.zsh +++ b/zsh/.zshrc.d/functions.zsh @@ -2,7 +2,7 @@ function flake-rebuild() { sudo git -C /etc/nixos commit -asm "$1" ; sudo nix flake update --commit-lock-file "git+file:///etc/nixos" --extra-experimental-features nix-command --extra-experimental-features flakes ; - sudo nixos-rebuild --flake /etc/nixos/#moonshadow switch + sudo nixos-rebuild --flake /etc/nixos/#$(hostname) switch } # Create a bookmark.