mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-02 11:49:33 +00:00
~
This commit is contained in:
parent
d97ef7c0d0
commit
465d097458
5 changed files with 15 additions and 7 deletions
8
Justfile
8
Justfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue