From 370c7862972f6a1da351890e7a3ec91ae251d6fa Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 20 Oct 2024 16:47:40 -0400 Subject: [PATCH] hwModules/framework/13/amd-7000: improve format --- hwModules/framework/13/amd-7000/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hwModules/framework/13/amd-7000/default.nix b/hwModules/framework/13/amd-7000/default.nix index 50109a36..fd32e2a5 100644 --- a/hwModules/framework/13/amd-7000/default.nix +++ b/hwModules/framework/13/amd-7000/default.nix @@ -16,15 +16,20 @@ boot = { initrd.availableKernelModules = ["nvme" "sd_mod" "thunderbolt" "usb_storage" "xhci_pci"]; + extraModprobeConfig = '' options snd_hda_intel power_save=1 ''; + kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; }; networking.networkmanager = { enable = true; - wifi.powersave = true; - wifi.backend = "iwd"; + + wifi = { + backend = "iwd"; + powersave = true; + }; }; }