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 | |
| parent | fa8578f134d2f2c9a2dad32669c8970876d3cc9e (diff) | |
| download | nixos-c45e19a8ee17b2f78c46154e2c90ae7932f23dab.tar.zst | |
Update the pihlaja kernel for amd
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/kataja/default.nix | 4 | ||||
| -rw-r--r-- | hosts/kataja/hardware-configuration.nix | 4 | ||||
| -rw-r--r-- | hosts/pihlaja/default.nix | 4 | ||||
| -rw-r--r-- | hosts/pihlaja/hardware-configuration.nix | 8 | ||||
| -rw-r--r-- | hosts/saarni/default.nix | 4 | ||||
| -rw-r--r-- | hosts/saarni/hardware-configuration.nix | 3 |
6 files changed, 4 insertions, 23 deletions
diff --git a/hosts/kataja/default.nix b/hosts/kataja/default.nix index 840b224..9818aa7 100644 --- a/hosts/kataja/default.nix +++ b/hosts/kataja/default.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, ... }: { diff --git a/hosts/kataja/hardware-configuration.nix b/hosts/kataja/hardware-configuration.nix index db1602b..cc56876 100644 --- a/hosts/kataja/hardware-configuration.nix +++ b/hosts/kataja/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, @@ -38,6 +35,7 @@ "transparent_hugepage=always" ]; kernelModules = [ + "iwlwifi" "k10temp" "kvm-amd" "snd_hda_intel" diff --git a/hosts/pihlaja/default.nix b/hosts/pihlaja/default.nix index 214091f..54a7efd 100644 --- a/hosts/pihlaja/default.nix +++ b/hosts/pihlaja/default.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, ... }: { 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" diff --git a/hosts/saarni/default.nix b/hosts/saarni/default.nix index bbd5305..b614131 100644 --- a/hosts/saarni/default.nix +++ b/hosts/saarni/default.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, ... }: { diff --git a/hosts/saarni/hardware-configuration.nix b/hosts/saarni/hardware-configuration.nix index eac5532..27dd94a 100644 --- a/hosts/saarni/hardware-configuration.nix +++ b/hosts/saarni/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, |
