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