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
commit 7b0e7dcb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 \