blob: adfe5079a92ef41ce1dac8c0966d277b80faf171 (
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
27
|
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
nix-collect-garbage --delete-older-than 10d
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"
|