From 631dd7e4beceb28107abd70914175d302b5d8e6f Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 9 Mar 2026 13:43:39 +0100 Subject: [PATCH 1/3] srv-core: Import nixos-hardware module --- hosts/srv-core/hardware.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/srv-core/hardware.nix b/hosts/srv-core/hardware.nix index 888a405..fc86ee3 100644 --- a/hosts/srv-core/hardware.nix +++ b/hosts/srv-core/hardware.nix @@ -1,4 +1,7 @@ -_: { +{ inputs, ... }: +{ + imports = [ inputs.nixos-hardware.nixosModules.hardkernel-odroid-h4 ]; + nixpkgs.hostPlatform = "x86_64-linux"; boot = { From 4505d4c3ec703203853f4e3aa338b9771fd2941d Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 9 Mar 2026 13:49:51 +0100 Subject: [PATCH 2/3] hosts: Rename `default.nix` to `configuration.nix` --- hosts/desktop/{default.nix => configuration.nix} | 0 hosts/laptop/{default.nix => configuration.nix} | 0 hosts/srv-core/{default.nix => configuration.nix} | 0 hosts/vps-ns/{default.nix => configuration.nix} | 0 hosts/vps-www/{default.nix => configuration.nix} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename hosts/desktop/{default.nix => configuration.nix} (100%) rename hosts/laptop/{default.nix => configuration.nix} (100%) rename hosts/srv-core/{default.nix => configuration.nix} (100%) rename hosts/vps-ns/{default.nix => configuration.nix} (100%) rename hosts/vps-www/{default.nix => configuration.nix} (100%) diff --git a/hosts/desktop/default.nix b/hosts/desktop/configuration.nix similarity index 100% rename from hosts/desktop/default.nix rename to hosts/desktop/configuration.nix diff --git a/hosts/laptop/default.nix b/hosts/laptop/configuration.nix similarity index 100% rename from hosts/laptop/default.nix rename to hosts/laptop/configuration.nix diff --git a/hosts/srv-core/default.nix b/hosts/srv-core/configuration.nix similarity index 100% rename from hosts/srv-core/default.nix rename to hosts/srv-core/configuration.nix diff --git a/hosts/vps-ns/default.nix b/hosts/vps-ns/configuration.nix similarity index 100% rename from hosts/vps-ns/default.nix rename to hosts/vps-ns/configuration.nix diff --git a/hosts/vps-www/default.nix b/hosts/vps-www/configuration.nix similarity index 100% rename from hosts/vps-www/default.nix rename to hosts/vps-www/configuration.nix From 3c4ebe16871016e050e9a0ee626273fad2f7f4e4 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 9 Mar 2026 14:12:16 +0100 Subject: [PATCH 3/3] srv-core: Explicitly enable sensor kernel modules --- hosts/srv-core/hardware.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/srv-core/hardware.nix b/hosts/srv-core/hardware.nix index fc86ee3..51669b4 100644 --- a/hosts/srv-core/hardware.nix +++ b/hosts/srv-core/hardware.nix @@ -5,7 +5,11 @@ nixpkgs.hostPlatform = "x86_64-linux"; boot = { - kernelModules = [ "kvm-intel" ]; + kernelModules = [ + "kvm-intel" + "k10temp" + "nct6775" + ]; initrd.availableKernelModules = [ "xhci_pci" "ahci"