jellyfin fix
This commit is contained in:
@@ -62,6 +62,11 @@
|
||||
compressor = "zstd";
|
||||
compressorArgs = [ "-19" ];
|
||||
};
|
||||
kernelModules = [
|
||||
# kernel module for case fan control
|
||||
"nct6775"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
@@ -123,7 +128,7 @@
|
||||
|
||||
(pkgs.writeScriptBin "mc-attach" ''
|
||||
#!/bin/sh
|
||||
tmux -S /run/minecraft/${service_configs.minecraft.server_name}.sock attach
|
||||
${pkgs.tmux}/bin/tmux -S /run/minecraft/${service_configs.minecraft.server_name}.sock attach
|
||||
'')
|
||||
|
||||
(pkgs.writeScriptBin "disk-smart-test" ''
|
||||
@@ -178,6 +183,21 @@
|
||||
services.udev.packages = [ pkgs.openrgb-with-all-plugins ];
|
||||
hardware.i2c.enable = true;
|
||||
|
||||
hardware.fancontrol = {
|
||||
enable = true;
|
||||
config = ''
|
||||
INTERVAL=10
|
||||
DEVPATH=hwmon0=devices/pci0000:00/0000:00:18.3 hwmon1=devices/platform/nct6775.656
|
||||
DEVNAME=hwmon0=zenpower hwmon1=nct6798
|
||||
FCTEMPS=hwmon1/pwm4=hwmon0/temp1_input hwmon1/pwm2=hwmon0/temp1_input
|
||||
FCFANS=hwmon1/pwm4=hwmon1/fan4_input hwmon1/pwm2=hwmon1/fan2_input
|
||||
MINTEMP=hwmon1/pwm4=20 hwmon1/pwm2=20
|
||||
MAXTEMP=hwmon1/pwm4=70 hwmon1/pwm2=70
|
||||
MINSTART=hwmon1/pwm4=150 hwmon1/pwm2=150
|
||||
MINSTOP=hwmon1/pwm4=100 hwmon1/pwm2=100
|
||||
'';
|
||||
};
|
||||
|
||||
networking = {
|
||||
nameservers = [
|
||||
"1.1.1.1"
|
||||
|
||||
Reference in New Issue
Block a user