add rebuild timer for queen
This commit is contained in:
		
							parent
							
								
									578f038179
								
							
						
					
					
						commit
						6ae866d53e
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -97,6 +97,20 @@
 | 
			
		|||
    youtube-dl
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Create an auto-update systemd service that runs every Saturday
 | 
			
		||||
  systemd.services = {
 | 
			
		||||
    updater = {
 | 
			
		||||
      path = [
 | 
			
		||||
        pkgs.rebuild
 | 
			
		||||
      ];
 | 
			
		||||
      script = "rebuild";
 | 
			
		||||
      serviceConfig = {
 | 
			
		||||
        User = config.users.users.default.name;
 | 
			
		||||
      };
 | 
			
		||||
      startAt = "weekly";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Enable networking
 | 
			
		||||
  networking.networkmanager.enable = true;
 | 
			
		||||
  networking.nat.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue