diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-13 20:29:37 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-13 20:38:17 +0200 |
| commit | c45e19a8ee17b2f78c46154e2c90ae7932f23dab (patch) | |
| tree | ceb30dca5ad69c628ae7249bdc0e7cb23e7da990 /hosts/pihlaja/hardware-configuration.nix | |
| parent | fa8578f134d2f2c9a2dad32669c8970876d3cc9e (diff) | |
| download | nixos-c45e19a8ee17b2f78c46154e2c90ae7932f23dab.tar.zst | |
Update the pihlaja kernel for amd
Diffstat (limited to 'hosts/pihlaja/hardware-configuration.nix')
| -rw-r--r-- | hosts/pihlaja/hardware-configuration.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hosts/pihlaja/hardware-configuration.nix b/hosts/pihlaja/hardware-configuration.nix index 53db431..d389063 100644 --- a/hosts/pihlaja/hardware-configuration.nix +++ b/hosts/pihlaja/hardware-configuration.nix @@ -1,6 +1,3 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. { config, lib, @@ -13,8 +10,10 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { - kernelPackages = pkgs.linuxPackages; + kernelPackages = pkgs.linuxPackages_zen; kernelParams = [ + "amdgpu.modeset=1" + "default_hugepagesz=2M" "mitigations=off" "nospectre_v2" "transparent_hugepage=always" @@ -27,7 +26,6 @@ "ahci" "cdc_acm" "iwldvm" - "iwlwifi" "nvme" "sd_mod" "usb_storage" |
