aboutsummaryrefslogtreecommitdiffstats
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
parentfa8578f134d2f2c9a2dad32669c8970876d3cc9e (diff)
downloadnixos-c45e19a8ee17b2f78c46154e2c90ae7932f23dab.tar.zst
Update the pihlaja kernel for amd
Diffstat (limited to '')
-rw-r--r--home/default.nix3
-rw-r--r--hosts/kataja/default.nix4
-rw-r--r--hosts/kataja/hardware-configuration.nix4
-rw-r--r--hosts/pihlaja/default.nix4
-rw-r--r--hosts/pihlaja/hardware-configuration.nix8
-rw-r--r--hosts/saarni/default.nix4
-rw-r--r--hosts/saarni/hardware-configuration.nix3
-rw-r--r--roles/shared.nix8
8 files changed, 12 insertions, 26 deletions
diff --git a/home/default.nix b/home/default.nix
index 6cd03ee..cb843c9 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -382,14 +382,13 @@ in
packages = with pkgs; [
# tui tools
bluetui # bluetooth management
- chawan # browser, currently crashes
+ chawan # browser
clipse # clipboard management
impala # iwd terminal ui
lux # youtube-downloader
unstable.nom # rss reader
rmpc # tui for mpd
rtorrent # torrent
- starship # shell aid
systemctl-tui
tenere # llm tui
ticker # stock ticker
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,
diff --git a/roles/shared.nix b/roles/shared.nix
index bdf7639..7e4a5eb 100644
--- a/roles/shared.nix
+++ b/roles/shared.nix
@@ -160,8 +160,12 @@
enable = true;
settings = {
Network = {
+ NameResolvingService = "systemd";
EnableIPv6 = true;
};
+ Settings = {
+ AutoConnect = true;
+ };
};
};
useNetworkd = true;
@@ -283,14 +287,16 @@
"bluetooth"
"input"
"lp"
+ "netdev"
"network"
"plugdev"
"render"
+ "render"
"systemd-journal"
+ "users"
"video"
"wheel"
"wireshark"
- "render"
];
ignoreShellProgramCheck = true;
packages = with pkgs; [