Added ombi, radarr, and sonarr
This commit is contained in:
		
							parent
							
								
									78ec78a293
								
							
						
					
					
						commit
						20cffb2a4a
					
				
					 3 changed files with 46 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								nixos/package-configs/ombi/configuration.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								nixos/package-configs/ombi/configuration.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  users.users = {
 | 
			
		||||
    ombi.extraGroups = ["radarr" "sonarr"];
 | 
			
		||||
  };
 | 
			
		||||
  #uses port 7878
 | 
			
		||||
  services.ombi = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    port = 2368;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.nginx = {
 | 
			
		||||
    virtualHosts = {
 | 
			
		||||
      "ombi.gladtherescake.eu" = {
 | 
			
		||||
        forceSSL = true;
 | 
			
		||||
        enableACME = true;
 | 
			
		||||
        locations."/" = {
 | 
			
		||||
          proxyPass = "http://localhost:2386";
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										10
									
								
								nixos/package-configs/radarr/configuration.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								nixos/package-configs/radarr/configuration.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  #uses port 7878
 | 
			
		||||
  services.radarr = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										10
									
								
								nixos/package-configs/sonarr/configuration.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								nixos/package-configs/sonarr/configuration.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  #uses port 8989
 | 
			
		||||
  services.radarr = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue