Add: modules for sensors
This commit is contained in:
parent
5b12e9360f
commit
1731f5ea7d
2 changed files with 7 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{pkgs, ...}:
|
{pkgs, config, ...}:
|
||||||
let
|
let
|
||||||
globals = import ../../config/globals.nix;
|
globals = import ../../config/globals.nix;
|
||||||
in {
|
in {
|
||||||
|
|
@ -11,8 +11,14 @@ in {
|
||||||
networking.hostName = "pennsardin";
|
networking.hostName = "pennsardin";
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
boot.extraModulePackages = [ config.boot.kernelPackages.nct6687d ];
|
||||||
|
boot.kernelModules = [ "nct6683" "k10temp" "i2c-dev" ] ;
|
||||||
boot.swraid.enable = true;
|
boot.swraid.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
lm_sensors
|
||||||
|
];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/b1a1ae71-4277-45d5-a3d2-f49354f263d4";
|
device = "/dev/disk/by-uuid/b1a1ae71-4277-45d5-a3d2-f49354f263d4";
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,4 @@
|
||||||
"radeon.cik_support=0"
|
"radeon.cik_support=0"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Si un module sonde "k10temp" gêne :
|
|
||||||
boot.blacklistedKernelModules = ["k10temp"];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue