mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 06:19:10 +00:00
services/gallery-dl: harden the service
This commit is contained in:
parent
9f6cef56f8
commit
10b3d01424
@ -150,6 +150,14 @@ in {
|
||||
}
|
||||
'';
|
||||
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