Add lidarr container with tailscale on dalinar

This commit is contained in:
Johannes Rothe 2025-04-01 22:05:40 +02:00
parent 8915a27cea
commit dc582e9b4c

View File

@ -345,6 +345,22 @@
};
};
containers.lidarr = {
autoStart = true;
privateNetwork = true;
enableTun = true;
hostAddress = "192.168.100.4";
localAddress = "192.168.100.5";
config = { ... }: {
system.stateVersion = "24.11";
networking.useHostResolvConf = lib.mkForce false;
# Required workaround for tailscale exit nodes, see https://nixos.wiki/wiki/Tailscale
networking.firewall.checkReversePath = "loose";
services.resolved.enable = true;
services.tailscale.enable = true;
};
};
system.stateVersion = "24.11"; # Don't change
}