boot: Only apply pde_set_flags kernel patch on x86

This commit is contained in:
Katherina Walshe-Grey 2025-09-08 18:48:53 +01:00
parent e82d1792c9
commit 08aa13534a

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
inherit (lib) mkIf; inherit (lib) mkIf optionals;
in in
{ {
boot.loader = { boot.loader = {
@ -11,7 +11,7 @@ in
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
boot.kernelPatches = [ boot.kernelPatches = optionals config.nixpkgs.hostPlatform.isx86 [
# Fix the /proc/net/tcp seek issue # Fix the /proc/net/tcp seek issue
# Impacts tailscale: https://github.com/tailscale/tailscale/issues/16966 # Impacts tailscale: https://github.com/tailscale/tailscale/issues/16966
{ {