-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJustfile
42 lines (31 loc) · 827 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
40
41
42
home-update:
# home-manager switch -v --flake .
nh home switch .
system-update:
# sudo nixos-rebuild switch -v --flake .
nh os switch .
channel-update:
sudo nix-channel --update
nix-channel --update
flake-update:
nix flake update
nvfetcher-update:
cd home/bat/; nvfetcher; cd -
fwupd-update:
sudo fwupdmgr update -y
myrepos-update:
cd ~; mr commit -m myrepos-commit; mr update; mr push; cd -
update-all: channel-update flake-update nvfetcher-update system-update home-update myrepos-update fwupd-update
clean-all:
# nix-collect-garbage -d
nh clean all
git-crypt:
git-crypt unlock
lockfile-pin:
git add flake.lock
git commit -m "update: flake.lock"
git push
options-pin:
git add hosts/**/options.nix
git commit -m "update: options"
git push