You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
921 B
Makefile
49 lines
921 B
Makefile
9 years ago
|
all: rebuild-switch
|
||
|
date
|
||
|
|
||
9 years ago
|
clean:
|
||
|
nix-collect-garbage -d --delete-older-than 15d
|
||
|
|
||
9 years ago
|
clean-aggressive:
|
||
9 years ago
|
nix-collect-garbage -d --delete-older-than 1d
|
||
9 years ago
|
|
||
9 years ago
|
clean-total:
|
||
|
nix-collect-garbage -d
|
||
|
|
||
9 years ago
|
clean-log:
|
||
|
journalctl --vacuum-size=1G
|
||
|
|
||
9 years ago
|
full-auto: submodules-update upgrade clean optimise
|
||
|
|
||
9 years ago
|
optimise:
|
||
|
nix-store --optimise
|
||
|
|
||
9 years ago
|
push: submodules-push
|
||
9 years ago
|
git push --all
|
||
|
git push --tags
|
||
9 years ago
|
|
||
9 years ago
|
rebuild-switch:
|
||
9 years ago
|
nixos-rebuild switch --fallback --show-trace
|
||
9 years ago
|
|
||
9 years ago
|
store-repair:
|
||
|
nix-store --verify --check-contents --repair
|
||
|
|
||
9 years ago
|
submodules-update:
|
||
9 years ago
|
#git submodule update --remote
|
||
|
git submodule foreach git co master
|
||
|
git submodule foreach git ff
|
||
9 years ago
|
|
||
9 years ago
|
submodules-push:
|
||
9 years ago
|
git submodule foreach git push --all
|
||
|
git submodule foreach git push --tags
|
||
9 years ago
|
|
||
9 years ago
|
submodules-tag:
|
||
|
git submodule foreach git tag -f "$$(date +%F)-$$(hostname -s)"
|
||
|
|
||
|
tag: submodules-tag
|
||
|
git tag -f "$$(date +%F)-$$(hostname -s)"
|
||
|
|
||
9 years ago
|
upgrade:
|
||
9 years ago
|
nixos-rebuild switch --upgrade --fallback --show-trace
|
||
9 years ago
|
|