-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
43 lines (36 loc) · 816 Bytes
/
justfile
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
_default:
@just --list --unsorted --justfile {{justfile()}}
[private]
alias u := update
# u: update all inputs
update:
nix flake update
[private]
alias b := build
# b: build the configuration
build:
nh os build .
[private]
alias s := switch
# s: activate configuration & add to boot menu
switch:
nh os switch --ask .
[private]
alias c := check
# c: run flake checks, including making sure `.#repl` and the system config evaluate
check:
nix flake check .# --show-trace
[private]
alias f := format
# f: run nix fmt on the flake
format:
nix fmt
[private]
alias gc := garbage-collect
# gc: Run nix collect-garbage -d
garbage-collect:
nh clean all
[private]
alias iso := generate-iso
generate-iso:
nom build .#nixosConfigurations.installer.config.system.build.isoImage