mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 06:19:11 +00:00
services/yt-dlp: harden the service
This commit is contained in:
parent
10b3d01424
commit
560e296532
@ -126,6 +126,14 @@ in {
|
|||||||
} ${lib.escapeShellArgs value.urls}
|
} ${lib.escapeShellArgs value.urls}
|
||||||
'';
|
'';
|
||||||
startAt = value.startAt;
|
startAt = value.startAt;
|
||||||
|
serviceConfig = {
|
||||||
|
NoNewPrivileges = true;
|
||||||
|
PrivateTmp = true;
|
||||||
|
ProtectControlGroup = true;
|
||||||
|
ProtectClock = true;
|
||||||
|
ProtectKernelModule = true;
|
||||||
|
ProtectKernelLogs = true;
|
||||||
|
};
|
||||||
}) cfg.jobs;
|
}) cfg.jobs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user