Let's disable some security.

This commit is contained in:
Sarah 2021-10-17 14:05:45 +02:00
parent c9644c3fd7
commit 4ee7a3abc1
No known key found for this signature in database
GPG key ID: 708F7ACE058F0186

View file

@ -62,33 +62,33 @@ in
Group = cfg.group;
PrivateMounts = true;
PrivateDevices = true;
PrivateTmp = true;
PrivateIPC = true;
PrivateUsers = true;
# PrivateDevices = true;
# PrivateTmp = true;
# PrivateIPC = true;
# PrivateUsers = true;
SystemCallFilters = [
"@aio"
"@basic-io"
"@file-system"
"@io-event"
"@process"
"@network-io"
"@timer"
"@signal"
"@alarm"
];
SystemCallErrorNumber = "EPERM";
# SystemCallFilters = [
# "@aio"
# "@basic-io"
# "@file-system"
# "@io-event"
# "@process"
# "@network-io"
# "@timer"
# "@signal"
# "@alarm"
# ];
# SystemCallErrorNumber = "EPERM";
ProtectSystem = "full";
ProtectHome = true;
ProtectHostname = true;
ProtectClock = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
ProtectKernelLogs = true;
ProtectControlGroups = true;
RestrictNamespaces = "";
# ProtectSystem = "full";
# ProtectHome = true;
# ProtectHostname = true;
# ProtectClock = true;
# ProtectKernelTunables = true;
# ProtectKernelModules = true;
# ProtectKernelLogs = true;
# ProtectControlGroups = true;
# RestrictNamespaces = "";
NoNewPrivileges = true;
ReadOnlyPaths = lib.mkMerge [