Add description to systemd-inhibit
This commit is contained in:
		
							parent
							
								
									a2126338f5
								
							
						
					
					
						commit
						d1c2acafde
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ writeShellApplication
 | 
			
		|||
    # A rebuild script for NixOS
 | 
			
		||||
    set -e
 | 
			
		||||
    echo "NixOS Rebuilding..."
 | 
			
		||||
    sudo systemd-inhibit nixos-rebuild switch --flake git+https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git#
 | 
			
		||||
    sudo systemd-inhibit --who="System Updater" why="Updating System" nixos-rebuild switch --flake git+https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git#
 | 
			
		||||
    echo "NixOS Rebuilt OK!"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue