···34[private]
5alias u := update
6-# u: update all inputs
7update:
8 nix flake update
910[private]
11alias b := build
12-# b: build the configuration
13build:
14 nh os build .
1500016boot:
17 nh os boot .
1819[private]
20alias s := switch
21-# s: activate configuration & add to boot menu
22switch:
23 nh os switch --ask .
2425[private]
26alias c := check
27-# c: run flake checks, including making sure `.#repl` and the system config evaluate
28check:
29 nix flake check .# --show-trace
3031[private]
32alias f := format
33-# f: run nix fmt on the flake
34format:
35 nix fmt
3637[private]
38alias gc := garbage-collect
39-# gc: Run nix collect-garbage -d
40garbage-collect:
41 nh clean all
42
···34[private]
5alias u := update
6+# u: update all inputs
7update:
8 nix flake update
910[private]
11alias b := build
12+# b: build the configuration
13build:
14 nh os build .
1516+[private]
17+alias bt := boot
18+# bt: make the configuration the boot default without activating it
19boot:
20 nh os boot .
2122[private]
23alias s := switch
24+# s: activate configuration & add to boot menu
25switch:
26 nh os switch --ask .
2728[private]
29alias c := check
30+# c: run all flake checks, including making sure all system configs evaluate
31check:
32 nix flake check .# --show-trace
3334[private]
35alias f := format
36+# f: format this flake
37format:
38 nix fmt
3940[private]
41alias gc := garbage-collect
42+# gc: run a garbage collection
43garbage-collect:
44 nh clean all
45