aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/pihlaja
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-13 20:29:37 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-13 20:38:17 +0200
commitc45e19a8ee17b2f78c46154e2c90ae7932f23dab (patch)
treeceb30dca5ad69c628ae7249bdc0e7cb23e7da990 /hosts/pihlaja
parentfa8578f134d2f2c9a2dad32669c8970876d3cc9e (diff)
downloadnixos-c45e19a8ee17b2f78c46154e2c90ae7932f23dab.tar.zst
Update the pihlaja kernel for amd
Diffstat (limited to 'hosts/pihlaja')
-rw-r--r--hosts/pihlaja/default.nix4
-rw-r--r--hosts/pihlaja/hardware-configuration.nix8
2 files changed, 3 insertions, 9 deletions
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"