blob: 8674597c31aa77612deb84b4ff4a1d9f2385950c (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
alias b := build
alias c := check
alias d := deploy
alias da := deploy-all
alias dr := dry-run
alias f := fmt
alias l := lint
alias p := pre-commit
alias sw := switch
alias t := test
default:
@just --choose
[linux]
build:
nixos-rebuild build --verbose --flake .
[macos]
build:
darwin-rebuild build --verbose --flake .
check:
nix flake check
deploy HOST:
deploy .#{{ HOST }}
deploy-all:
deploy
[linux]
dry-run:
nixos-rebuild dry-run --verbose --flake .
[macos]
dry-run:
darwin-rebuild dry-run --verbose --flake .
fmt:
pre-commit run alejandra && pre-commit run stylua
lint:
pre-commit run statix && pre-commit run deadnix
pre-commit:
pre-commit run
[linux]
switch:
sudo nixos-rebuild switch --verbose --flake .
[macos]
switch:
darwin-rebuild switch --verbose --flake .
[linux]
test:
sudo nixos-rebuild test --verbose --flake .
[macos]
test:
darwin-rebuild test --verbose --flake .
update:
nix flake update
update-nixpkgs:
nix flake lock \
--update-input nixpkgs --update-input nixpkgs-stable
|