mediaserver: wireguard+prowlarr
This commit is contained in:
parent
7ef694d3ed
commit
6ec1557e42
2 changed files with 16 additions and 0 deletions
|
@ -16,6 +16,7 @@ in
|
|||
../nixos/tailscale.nix
|
||||
|
||||
../nixos/wireguard-netns.nix
|
||||
../nixos/prowlarr.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
|
15
system/nixos/prowlarr.nix
Normal file
15
system/nixos/prowlarr.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
services.prowlarr = {
|
||||
enable = true;
|
||||
openFirewall = false;
|
||||
};
|
||||
|
||||
systemd.services.prowlarr = {
|
||||
bindsTo = [ "netns@wg.service" ];
|
||||
after = [ "wg.service" ];
|
||||
|
||||
serviceConfig = {
|
||||
NetworkNamespacePath = "/var/run/netns/wg";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue