mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-06-07 12:39:29 +00:00
~
This commit is contained in:
parent
58e551abb2
commit
f2e479415c
2 changed files with 14 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ result/
|
||||||
result
|
result
|
||||||
*.img
|
*.img
|
||||||
*.img.*
|
*.img.*
|
||||||
|
|
||||||
|
|
25
Justfile
25
Justfile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue