update switch script to be verbose
This commit is contained in:
		
							parent
							
								
									32e78754ec
								
							
						
					
					
						commit
						24a946f719
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		
							
								
								
									
										9
									
								
								switch
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								switch
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,3 +1,10 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
sudo nixos-rebuild switch --print-build-logs --flake .# $@
 | 
			
		||||
sudo nice ionice \
 | 
			
		||||
    nixos-rebuild \
 | 
			
		||||
    switch \
 | 
			
		||||
    --verbose \
 | 
			
		||||
    --show-trace \
 | 
			
		||||
    --print-build-logs \
 | 
			
		||||
    --flake .# \
 | 
			
		||||
    $@
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue