-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (27 loc) · 666 Bytes
/
Makefile
File metadata and controls
40 lines (27 loc) · 666 Bytes
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
#####
##### desk|lap top
#####
env:
sudo nixos-rebuild switch --flake .#$(NIX_CONFIG_USER)
lanath-laptop:
sudo nixos-rebuild switch --flake .#lanath-laptop
mushu-laptop:
sudo nixos-rebuild switch --flake .#mushu-laptop
lanath-desktop:
sudo nixos-rebuild switch --flake .#lanath-desktop
mushu-desktop:
sudo nixos-rebuild switch --flake .#mushu-desktop
#####
##### misc
#####
update:
nix flake update
upgrade:
sudo nixos-rebuild boot --flake .#$(NIX_CONFIG_USER) --upgrade
re: update upgrade
garbage:
nix-collect-garbage
wipe:
sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 1d
clean: wipe garbage
all: re clean