Harden the module service.
This commit is contained in:
parent
a0af563334
commit
8f25a59324
|
@ -65,23 +65,23 @@ in {
|
||||||
OBJECTIFIER_CLEANUP_DELAY = toString cfg.cleanup.delay;
|
OBJECTIFIER_CLEANUP_DELAY = toString cfg.cleanup.delay;
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# PrivateUsers = true;
|
PrivateUsers = true;
|
||||||
# PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
# PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
# PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
# ProtectControlGroups = true;
|
ProtectControlGroups = true;
|
||||||
# ProtectKernelTunables = true;
|
ProtectKernelTunables = true;
|
||||||
# ProtectKernelModules = true;
|
ProtectKernelModules = true;
|
||||||
# ProtectSystem = true;
|
ProtectSystem = true;
|
||||||
# ProtectHostname = true;
|
ProtectHostname = true;
|
||||||
# ProtectHome = true;
|
ProtectHome = true;
|
||||||
# ProtectClock = true;
|
ProtectClock = true;
|
||||||
# ProtectKernelLogs = true;
|
ProtectKernelLogs = true;
|
||||||
# DynamicUser = true;
|
DynamicUser = true;
|
||||||
# MemoryDenyWriteExecute = true;
|
MemoryDenyWriteExecute = true;
|
||||||
# RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
# LockPersonality = true;
|
LockPersonality = true;
|
||||||
# PermissionsStartOnly = true;
|
PermissionsStartOnly = true;
|
||||||
WorkingDirectory = "${pkgs.objectifier}";
|
WorkingDirectory = "${pkgs.objectifier}";
|
||||||
StateDirectory = "objectifier";
|
StateDirectory = "objectifier";
|
||||||
CacheDirectory = "objectifier";
|
CacheDirectory = "objectifier";
|
||||||
|
|
Loading…
Reference in New Issue