From dc582e9b4cd57a1c9140dac7793b7db3ac86e48e Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Tue, 1 Apr 2025 22:05:40 +0200 Subject: [PATCH] Add lidarr container with tailscale on dalinar --- hosts/dalinar/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/hosts/dalinar/default.nix b/hosts/dalinar/default.nix index 057dd5e..4c8eef7 100644 --- a/hosts/dalinar/default.nix +++ b/hosts/dalinar/default.nix @@ -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 }