From d1c571ffe8c119a0f5f41327439232f71ff23ff4 Mon Sep 17 00:00:00 2001 From: macronova Date: Sun, 15 Dec 2024 21:16:43 -0800 Subject: [PATCH] Enable motherboard sensors --- common/users.nix | 1 + flake.lock | 12 ++++++------ linux/quasar/hardware-configuration.nix | 11 +++++++---- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/common/users.nix b/common/users.nix index e2055b3..fd04607 100644 --- a/common/users.nix +++ b/common/users.nix @@ -200,6 +200,7 @@ in { iconTheme = "Sweet-Rainbow"; lookAndFeel = "Sweet-Ambar-Blue"; soundTheme = "yorha"; + wallpaperPictureOfTheDay.provider = "bing"; }; }; ripgrep.enable = true; diff --git a/flake.lock b/flake.lock index f041c2e..563d978 100644 --- a/flake.lock +++ b/flake.lock @@ -394,11 +394,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1733940404, - "narHash": "sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g=", + "lastModified": 1734119587, + "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5d67ea6b4b63378b9c13be21e2ec9d1afc921713", + "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5", "type": "github" }, "original": { @@ -483,11 +483,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1733665616, - "narHash": "sha256-+XTFXYlFJBxohhMGLDpYdEnhUNdxN8dyTA8WAd+lh2A=", + "lastModified": 1734279981, + "narHash": "sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "d8c02f0ffef0ef39f6063731fc539d8c71eb463a", + "rev": "aa9f40c906904ebd83da78e7f328cd8aeaeae785", "type": "github" }, "original": { diff --git a/linux/quasar/hardware-configuration.nix b/linux/quasar/hardware-configuration.nix index e23dc2c..d0dca6a 100644 --- a/linux/quasar/hardware-configuration.nix +++ b/linux/quasar/hardware-configuration.nix @@ -12,10 +12,13 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "uas" "usbhid" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-amd"]; - boot.extraModulePackages = []; + boot = { + extraModulePackages = [config.boot.kernelPackages.it87]; + extraModprobeConfig = "options it87 force_id=0x8628"; + initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "uas" "usbhid" "sd_mod"]; + kernelModules = ["coretemp" "kvm-amd" "it87"]; + kernelParams = ["acpi_enforce_resources=lax"]; + }; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's