blob: 301b3ae0549bb4d2c64f6a7b35e3b6715ed5640c (
plain) (
blame)
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
|
default: rebuild
rebuild:
run0 nixos-rebuild switch --flake .
update:
nix flake update
run0 nixos-rebuild switch --flake .
format:
fd -e nix -x nixfmt --strict --verify
clean:
run0 nix-env --delete-generations +2 --profile /nix/var/nix/profiles/system
run0 nix-store --gc
run0 nix-store --optimise
validate:
run0 nix-store --repair --verify --check-contents
run0 nix-store --optimise
index:
systemd-run --scope -p MemoryMax=20G --user nix-index
firefoxaddons:
nix flake show "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"
|