1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-05-02 11:49:33 +00:00
This commit is contained in:
Rae 5e 2024-12-17 19:32:03 -05:00
parent d97ef7c0d0
commit 465d097458
5 changed files with 15 additions and 7 deletions

View file

@ -2,10 +2,14 @@ default:
@just --list
rebuild host operation:
@cd nixos/ && sudo nixos-rebuild {{operation}} --flake .#{{host}} && cd ..
sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}}
home-rebuild operation:
home-manager {{operation}} --flake ./nixos
switch host:
@just rebuild {{host}} switch
just rebuild {{host}} switch
just home-rebuild switch
clean:
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old