fix(mail): Let timer unit be wanted by timers.target
This commit is contained in:
		
							parent
							
								
									858895aad3
								
							
						
					
					
						commit
						b607fa5e60
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								mail.nix
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								mail.nix
									
										
									
									
									
								
							| 
						 | 
					@ -44,6 +44,7 @@ in {
 | 
				
			||||||
  # Enable OfflineIMAP timer & service:
 | 
					  # Enable OfflineIMAP timer & service:
 | 
				
			||||||
  systemd.user.timers.offlineimap = {
 | 
					  systemd.user.timers.offlineimap = {
 | 
				
			||||||
    description = "OfflineIMAP timer";
 | 
					    description = "OfflineIMAP timer";
 | 
				
			||||||
 | 
					    wantedBy    = [ "timers.target" ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    timerConfig = {
 | 
					    timerConfig = {
 | 
				
			||||||
      Unit       = "offlineimap.service";
 | 
					      Unit       = "offlineimap.service";
 | 
				
			||||||
| 
						 | 
					@ -55,7 +56,6 @@ in {
 | 
				
			||||||
  systemd.user.services.offlineimap = {
 | 
					  systemd.user.services.offlineimap = {
 | 
				
			||||||
    description = "OfflineIMAP service";
 | 
					    description = "OfflineIMAP service";
 | 
				
			||||||
    path = with pkgs; [ pass notmuch ];
 | 
					    path = with pkgs; [ pass notmuch ];
 | 
				
			||||||
    wantedBy    = [ "default.target" ];
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    serviceConfig = {
 | 
					    serviceConfig = {
 | 
				
			||||||
      Type            = "oneshot";
 | 
					      Type            = "oneshot";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue