Remove redundant 1-Wire configuration

This commit is contained in:
coolneng 2023-06-28 04:17:30 +02:00
parent 4e85e1f46a
commit f3d415c853
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 4 deletions

View File

@ -24,17 +24,13 @@ with pkgs;
firmwareConfig = '' firmwareConfig = ''
iomem=relaxed iomem=relaxed
strict-devmem=0 strict-devmem=0
dtoverlay=w1-gpio
''; '';
}; };
}; };
boot.kernelModules = [ "pwm_bcm2835" "w1-gpio" "w1-therm" ];
# Load PWM hardware timers # Load PWM hardware timers
hardware.raspberry-pi."4".pwm0.enable = true; hardware.raspberry-pi."4".pwm0.enable = true;
# Enable I2C # Enable I2C
hardware.raspberry-pi."4".i2c1.enable = true; hardware.raspberry-pi."4".i2c1.enable = true;
} }