boot, tailscale: Apply kernel regression patch instead of workarounds

This commit is contained in:
Katherina Walshe-Grey 2025-09-08 12:39:40 +01:00
parent 598f1dc742
commit e82d1792c9
2 changed files with 13 additions and 17 deletions

View file

@ -11,6 +11,19 @@ in
efi.canTouchEfiVariables = true;
};
boot.kernelPatches = [
# Fix the /proc/net/tcp seek issue
# Impacts tailscale: https://github.com/tailscale/tailscale/issues/16966
{
name = "proc: fix missing pde_set_flags() for net proc files";
patch = pkgs.fetchurl {
name = "fix-missing-pde_set_flags-for-net-proc-files.patch";
url = "https://patchwork.kernel.org/project/linux-fsdevel/patch/20250821105806.1453833-1-wangzijie1@honor.com/raw/";
hash = "sha256-DbQ8FiRj65B28zP0xxg6LvW5ocEH8AHOqaRbYZOTDXg=";
};
}
];
services.resolved = {
enable = true;
fallbackDns = [ ];