marleyos/Justfile
punkfairie d185e489cf
feat(home): NixGL working!!
Wezterm hates it for some reason tho :(
2024-11-22 21:37:45 -08:00

33 lines
616 B
Makefile

default:
@just --list
defhost := `hostname`
defuser := env_var('USER')
alias dh := deployhome
[group('home')]
deployhome user=defuser host=defhost:
nh home switch -c {{user}}@{{host}} -b bak . -- --impure
[group('home')]
refreshhome:
home-manager switch --refresh -b bak --flake .
alias dd := deploydarwin
[group('darwin')]
deploydarwin host=defhost:
darwin-rebuild switch --flake .#{{host}}
alias up := update
[group('update')]
update:
nix flake update
[group('update')]
updatejust this:
nix flake update {{this}}
alias gc := collectgarbage
[group('maintainence')]
collectgarbage:
nh clean all