From 3a4d38920177c5dc5338dfeebda388d83ff6be05 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 29 Jun 2024 01:46:30 -0500 Subject: [PATCH] fw13 patch is borked after flake update, so just use latest kernel --- nixos/foxtrot.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index b89d4ba..650d444 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -105,17 +105,18 @@ hardware.framework.amd-7040.preventWakeOnAC = true; boot = { - # kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_latest; + # https://github.com/void-linux/void-packages/issues/50417#issuecomment-2131802836 fix framework 13 not shutting down - kernelPatches = [ - { - name = "framework13shutdownfix"; - patch = builtins.fetchurl { - url = "https://github.com/void-linux/void-packages/files/15445612/0001-Add-hopefully-a-solution-for-shutdown-regression.PATCH"; - sha256 = "sha256:10zcnzy5hkam2cnxx441b978gzhvnqlcc49k7bpz9dc28xyjik50"; - }; - } - ]; + # kernelPatches = [ + # { + # name = "framework13shutdownfix"; + # patch = builtins.fetchurl { + # url = "https://github.com/void-linux/void-packages/files/15445612/0001-Add-hopefully-a-solution-for-shutdown-regression.PATCH"; + # sha256 = "sha256:10zcnzy5hkam2cnxx441b978gzhvnqlcc49k7bpz9dc28xyjik50"; + # }; + # } + # ]; loader = { efi.canTouchEfiVariables = true;