boot: Only apply pde_set_flags kernel patch on x86
This commit is contained in:
parent
e82d1792c9
commit
08aa13534a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue