diff --git a/configuration.nix b/configuration.nix index 2b6260f..3b8fb25 100644 --- a/configuration.nix +++ b/configuration.nix @@ -43,6 +43,7 @@ extraGroups = [ "wheel" "dialout" + "docker" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ diff --git a/server-configuration.nix b/server-configuration.nix index f831661..9c7322f 100644 --- a/server-configuration.nix +++ b/server-configuration.nix @@ -108,6 +108,8 @@ in homepage-dashboard slskd bazarr + ethtool + networkd-dispatcher ]; services.jellyfin = { @@ -117,5 +119,17 @@ in services.tailscale = { enable = true; + useRoutingFeatures = "server"; + }; + services = { + networkd-dispatcher = { + enable = true; + rules."50-tailscale" = { + onState = ["routable"]; + script = '' + ${pkgs.ethtool}/bin/ethtool -K ens18 rx-udp-gro-forwarding on rx-gro-list off + ''; + }; + }; }; }