mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Replace Headphones with Lidarr
This commit is contained in:
parent
856c9456bd
commit
f020dae8e2
2 changed files with 9 additions and 14 deletions
|
|
@ -37,8 +37,8 @@
|
|||
hostPath = "/nix/var/data/radarr";
|
||||
isReadOnly = false;
|
||||
};
|
||||
"/nix/var/data/headphones" = {
|
||||
hostPath = "/nix/var/data/headphones";
|
||||
"/nix/var/data/lidarr" = {
|
||||
hostPath = "/nix/var/data/lidarr";
|
||||
isReadOnly = false;
|
||||
};
|
||||
"/nix/var/data/transmission" = {
|
||||
|
|
@ -168,16 +168,14 @@
|
|||
group = config.users.groups.www-data.name;
|
||||
dataDir = "/nix/var/data/radarr";
|
||||
};
|
||||
services.headphones = {
|
||||
services.lidarr = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
user = config.users.users.www-data.name;
|
||||
group = config.users.groups.www-data.name;
|
||||
dataDir = "/nix/var/data/headphones";
|
||||
host = "192.168.1.2";
|
||||
dataDir = "/nix/var/data/lidarr";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ config.services.headphones.port ];
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
};
|
||||
};
|
||||
|
|
@ -213,13 +211,10 @@
|
|||
enableACME = true;
|
||||
locations."/" = { proxyPass = "http://192.168.1.2:7878"; };
|
||||
};
|
||||
"headphones.${config.networking.domain}" = {
|
||||
"lidarr.${config.networking.domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://192.168.1.2:${toString config.services.headphones.port}";
|
||||
};
|
||||
locations."/" = { proxyPass = "http://192.168.1.2:8686"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue