marleyos/Justfile

25 lines
388 B
Makefile
Raw Normal View History

default:
@just --list
2024-11-14 04:01:43 +00:00
alias d := deploy
[group('activate')]
deploy:
nix run .#activate
2024-11-06 03:56:12 +00:00
alias dh := deployhome
[group('home')]
2024-11-14 04:01:43 +00:00
[group('activate')]
2024-11-14 03:55:01 +00:00
deployhome user=env_var('USER'):
nix run .#activate {{user}}@
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-06 03:56:12 +00:00
alias up := update
update:
nix flake update
updatejust this:
nix flake update {{this}}