home: add tailscale-systray service
This commit is contained in:
		
							parent
							
								
									bf43fc8e64
								
							
						
					
					
						commit
						664b22c2bb
					
				
					 2 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								modules/home/workstation/tools/tailscale-applet.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								modules/home/workstation/tools/tailscale-applet.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ook, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (ook.lib.services) mkGraphicalService; | ||||
|   inherit (lib) getExe; | ||||
| in { | ||||
|   systemd.user.services.tailscale-applet = mkGraphicalService { | ||||
|     Unit = { | ||||
|       Description = "Tray applet for tailscale"; | ||||
|       Requires = ["tray.target"]; | ||||
|     }; | ||||
|     Service = { | ||||
|       ExecStart = "${getExe pkgs.tailscale-systray}"; | ||||
|       Restart = "on-abort"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue