mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +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}
|
||||
'';
|
||||
startAt = value.startAt;
|
||||
serviceConfig = {
|
||||
NoNewPrivileges = true;
|
||||
PrivateTmp = true;
|
||||
ProtectControlGroup = true;
|
||||
ProtectClock = true;
|
||||
ProtectKernelModule = true;
|
||||
ProtectKernelLogs = true;
|
||||
};
|
||||
}) cfg.jobs;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user