marleyos/Justfile

38 lines
669 B
Makefile
Raw Normal View History

default:
@just --list
defhost := `hostname`
defuser := env_var('USER')
2024-11-05 19:56:12 -08:00
alias dh := deployhome
[group('home')]
deployhome user=defuser host=defhost:
nh home switch -c {{user}}@{{host}} -b bak . -- --impure
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
alias dd := deploydarwin
[group('darwin')]
deploydarwin host=defhost:
darwin-rebuild switch --flake .#{{host}}
2024-11-05 19:56:12 -08:00
alias up := update
[group('update')]
update:
nix flake update
[group('update')]
updatejust this:
nix flake update {{this}}
2024-11-17 16:32:27 -08:00
alias gc := collectgarbage
[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}}