-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
39 lines (27 loc) · 853 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
deploy:
just deploy-system
just deploy-home
deploy-debug:
just deploy-system-debug
just deploy-home-debug
update:
nix flake update
history:
nix profile history --profile /nix/var/nix/profiles/system
repl:
nix repl -f flake:nixpkgs
clean:
sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 7d
repair-store:
sudo nix-store --repair --verify --check-contents
gc:
sudo nix-collect-garbage --delete-old
# -------------------------------------------------------------------------------------------
deploy-system:
nixos-rebuild switch --flake . --use-remote-sudo
deploy-system-debug:
nixos-rebuild switch --flake . --use-remote-sudo --show-trace --verbose
deploy-home:
home-manager switch --flake .\?submodules=1
deploy-home-debug:
home-manager switch --flake .\?submodules=1 --show-trace