-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
40 lines (31 loc) · 909 Bytes
/
justfile
File metadata and controls
40 lines (31 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
default:
just --list
starling:
sudo nix run nix-darwin/nix-darwin-25.05#darwin-rebuild --extra-experimental-features "nix-command flakes" -- switch --flake ~/Documents/git/flake#starling --impure
- sudo yabai --load-sa
alias a-sd := anemone-sd
[group('anemone')]
anemone-sd:
sudo nom build ".#nixosConfigurations.anemone.config.system.build.sdImage"
alias a-dep := anemone-deploy
[group('anemone')]
anemone-deploy:
nixos-rebuild switch --flake .#anemone --target-host root@10.10.1.245 --verbose --log-format internal-json -v |& nom --json
[group('nixos')]
clean:
nh clean all --keep 3
[group('nixos')]
update:
NIX_CONFIG="access-tokens = github.com=$(gh auth token)" nix flake update
[group('nixos')]
repair:
sudo nix-store --verify --check-contents --repair
[group('lint')]
alejandra:
alejandra .
[group('lint')]
statix:
statix check .
[group('lint')]
deadnix:
deadnix -eq .