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.
29 lines
460 B
Makefile
29 lines
460 B
Makefile
all: rebuild-switch
|
|
date
|
|
|
|
clean:
|
|
nix-collect-garbage -d --delete-older-than 15d
|
|
|
|
clean-aggressive:
|
|
nix-collect-garbage -d --delete-older-than 1d
|
|
|
|
clean-total:
|
|
nix-collect-garbage -d
|
|
|
|
clean-log:
|
|
journalctl --vacuum-size=1G
|
|
|
|
optimise:
|
|
nix-store --optimise
|
|
|
|
rebuild-switch:
|
|
nixos-rebuild switch
|
|
|
|
submodules-update:
|
|
#git submodule update --remote
|
|
git submodule foreach git co master
|
|
git submodule foreach git ff
|
|
|
|
upgrade:
|
|
nixos-rebuild switch --upgrade
|