1
0
Fork 0

mediaserver: wireguard+prowlarr

This commit is contained in:
Daniel Kempkens 2023-04-13 22:53:38 +02:00
parent 7ef694d3ed
commit 6ec1557e42
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 16 additions and 0 deletions

View file

@ -16,6 +16,7 @@ in
../nixos/tailscale.nix ../nixos/tailscale.nix
../nixos/wireguard-netns.nix ../nixos/wireguard-netns.nix
../nixos/prowlarr.nix
]; ];
system.stateVersion = "22.11"; system.stateVersion = "22.11";

15
system/nixos/prowlarr.nix Normal file
View 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";
};
};
}