mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 01:32:11 +01:00 
			
		
		
		
	
		
			
	
	
		
			32 lines
		
	
	
	
		
			641 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			32 lines
		
	
	
	
		
			641 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
|   | { config, pkgs, ... }: | ||
|  | { | ||
|  |   services.prowlarr = { | ||
|  |     enable = true; | ||
|  |     openFirewall = true; | ||
|  |   }; | ||
|  | 
 | ||
|  |   systemd.services.prowlarr = { | ||
|  |     after = [ "network-online.target" ]; | ||
|  |     #unitConfig.RequiresMountsFor = [ "/storage" ]; | ||
|  |   }; | ||
|  | 
 | ||
|  |   webapps.apps.prowlarr = { | ||
|  |     dashboard = { | ||
|  |       name = "Prowlarr"; | ||
|  |       category = "manag"; | ||
|  |       icon = "sync-alt"; | ||
|  |       link = "http://192.168.178.60:9696"; | ||
|  |     }; | ||
|  |   }; | ||
|  |   # ugly fix for service not having a homedirectory | ||
|  |   users.users.prowlarr = { | ||
|  |     isSystemUser = true; | ||
|  |     home = "/var/lib/prowlarr"; | ||
|  |     group = "prowlarr"; | ||
|  |     uid = 61654; | ||
|  |   }; | ||
|  |   users.groups.prowlarr = { | ||
|  |     gid = 61654; | ||
|  |   }; | ||
|  | } |