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
		
	
	
		
			872 B
		
	
	
	
		
			Makefile
		
	
			
		
		
	
	
			49 lines
		
	
	
		
			872 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
 | 
						|
 | 
						|
full-auto: submodules-update upgrade clean optimise
 | 
						|
 | 
						|
optimise:
 | 
						|
	nix-store --optimise
 | 
						|
 | 
						|
push: submodules-push
 | 
						|
	git push --all
 | 
						|
	git push --tags
 | 
						|
 | 
						|
rebuild-switch:
 | 
						|
	nixos-rebuild switch
 | 
						|
 | 
						|
store-repair:
 | 
						|
	nix-store --verify --check-contents --repair
 | 
						|
 | 
						|
submodules-update:
 | 
						|
	#git submodule update --remote
 | 
						|
	git submodule foreach git co master
 | 
						|
	git submodule foreach git ff
 | 
						|
 | 
						|
submodules-push:
 | 
						|
	git submodule foreach git push --all
 | 
						|
	git submodule foreach git push --tags
 | 
						|
 | 
						|
submodules-tag:
 | 
						|
	git submodule foreach git tag -f "$$(date +%F)-$$(hostname -s)"
 | 
						|
 | 
						|
tag: submodules-tag
 | 
						|
	git tag -f "$$(date +%F)-$$(hostname -s)"
 | 
						|
 | 
						|
upgrade:
 | 
						|
	nixos-rebuild switch --upgrade
 | 
						|
 |