Merge pull request #155142 from rapenne-s/thermald_no_net

thermald: disable network access
This commit is contained in:
Bernardo Meurer
2022-01-16 00:36:11 +00:00
committed by GitHub
+3 -1
View File
@@ -4,7 +4,8 @@ with lib;
let
cfg = config.services.thermald;
in {
in
{
###### interface
options = {
services.thermald = {
@@ -41,6 +42,7 @@ in {
description = "Thermal Daemon Service";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
PrivateNetwork = true;
ExecStart = ''
${cfg.package}/sbin/thermald \
--no-daemon \