1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-06-07 20:49:29 +00:00
This commit is contained in:
Rae 5e 2025-06-05 22:31:34 -04:00
parent 58e551abb2
commit f2e479415c
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
2 changed files with 14 additions and 12 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@ result/
result result
*.img *.img
*.img.* *.img.*

View file

@ -1,27 +1,28 @@
default: default:
@just --list @just --list
rebuild host operation: rebuild host operation:
sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}} sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}}
home-rebuild operation: home-rebuild operation:
home-manager {{operation}} --flake ./nixos home-manager {{operation}} --flake ./nixos
switch host: switch host:
just rebuild {{host}} switch just rebuild {{host}} switch
just home-rebuild switch just home-rebuild switch
clean: clean:
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old
nix-collect-garbage -d nix-collect-garbage -d
nix store optimise nix store optimise
# commit local changes and push to upstream # commit local changes and push to upstream
push: push:
@git add . @git add .
git commit -m "~" git commit -m "~"
git push git push
# run `switch` on default host # run `switch` on default host
sd: sd:
@just switch ioides @just switch ioides