2024-10-20 21:13:04 -07:00
|
|
|
default:
|
|
|
|
@just --list
|
|
|
|
|
2024-11-21 20:28:46 -08:00
|
|
|
defhost := `hostname`
|
|
|
|
defuser := env_var('USER')
|
|
|
|
|
2024-11-05 19:56:12 -08:00
|
|
|
alias dh := deployhome
|
|
|
|
[group('home')]
|
2024-11-21 20:28:46 -08:00
|
|
|
deployhome user=defuser host=defhost:
|
2024-11-22 21:37:45 -08:00
|
|
|
nh home switch -c {{user}}@{{host}} -b bak . -- --impure
|
2024-10-20 21:13:04 -07:00
|
|
|
|
2024-11-05 19:56:12 -08:00
|
|
|
[group('home')]
|
|
|
|
refreshhome:
|
2024-11-13 20:01:43 -08:00
|
|
|
home-manager switch --refresh -b bak --flake .
|
2024-11-03 19:12:15 -08:00
|
|
|
|
2024-11-21 20:28:46 -08:00
|
|
|
alias dd := deploydarwin
|
|
|
|
[group('darwin')]
|
|
|
|
deploydarwin host=defhost:
|
|
|
|
darwin-rebuild switch --flake .#{{host}}
|
|
|
|
|
2024-11-05 19:56:12 -08:00
|
|
|
alias up := update
|
2024-11-21 20:28:46 -08:00
|
|
|
[group('update')]
|
2024-10-20 21:13:04 -07:00
|
|
|
update:
|
|
|
|
nix flake update
|
|
|
|
|
2024-11-21 20:28:46 -08:00
|
|
|
[group('update')]
|
2024-10-20 21:13:04 -07:00
|
|
|
updatejust this:
|
|
|
|
nix flake update {{this}}
|
2024-11-17 16:32:27 -08:00
|
|
|
|
|
|
|
alias gc := collectgarbage
|
2024-11-21 20:28:46 -08:00
|
|
|
[group('maintainence')]
|
2024-11-17 16:32:27 -08:00
|
|
|
collectgarbage:
|
2024-11-18 21:17:03 -08:00
|
|
|
nh clean all
|
2024-12-02 18:47:20 -08:00
|
|
|
|
|
|
|
alias s := search
|
|
|
|
search this:
|
|
|
|
nh search {{this}}
|