mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-02 11:49:33 +00:00
~
This commit is contained in:
parent
c8697a67ca
commit
544b57af9c
5 changed files with 39 additions and 4 deletions
23
Justfile
Normal file
23
Justfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
default:
|
||||
@just --list
|
||||
|
||||
rebuild host operation:
|
||||
@cd nixos/ && sudo nixos-rebuild {{operation}} --flake .#{{host}} && cd ..
|
||||
|
||||
switch host:
|
||||
@just rebuild {{host}} switch
|
||||
|
||||
clean:
|
||||
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old
|
||||
nix-collect-garbage -d
|
||||
nix store optimise
|
||||
|
||||
push:
|
||||
git status
|
||||
@git add .
|
||||
@git commit -m "~"
|
||||
git push
|
||||
|
||||
# run `switch` on default host
|
||||
sd:
|
||||
@just switch qemu
|
Loading…
Add table
Add a link
Reference in a new issue