mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 11:53:43 +01:00
Update flake-rebuild for hostname
This commit is contained in:
parent
5695ce8134
commit
d9327d5764
@ -2,7 +2,7 @@
|
|||||||
function flake-rebuild() {
|
function flake-rebuild() {
|
||||||
sudo git -C /etc/nixos commit -asm "$1" ;
|
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 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.
|
# Create a bookmark.
|
||||||
|
Loading…
Reference in New Issue
Block a user