Let's disable some security.
This commit is contained in:
parent
c9644c3fd7
commit
4ee7a3abc1
1 changed files with 25 additions and 25 deletions
50
module.nix
50
module.nix
|
@ -62,33 +62,33 @@ in
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
|
|
||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
PrivateDevices = true;
|
# PrivateDevices = true;
|
||||||
PrivateTmp = true;
|
# PrivateTmp = true;
|
||||||
PrivateIPC = true;
|
# PrivateIPC = true;
|
||||||
PrivateUsers = true;
|
# PrivateUsers = true;
|
||||||
|
|
||||||
SystemCallFilters = [
|
# SystemCallFilters = [
|
||||||
"@aio"
|
# "@aio"
|
||||||
"@basic-io"
|
# "@basic-io"
|
||||||
"@file-system"
|
# "@file-system"
|
||||||
"@io-event"
|
# "@io-event"
|
||||||
"@process"
|
# "@process"
|
||||||
"@network-io"
|
# "@network-io"
|
||||||
"@timer"
|
# "@timer"
|
||||||
"@signal"
|
# "@signal"
|
||||||
"@alarm"
|
# "@alarm"
|
||||||
];
|
# ];
|
||||||
SystemCallErrorNumber = "EPERM";
|
# SystemCallErrorNumber = "EPERM";
|
||||||
|
|
||||||
ProtectSystem = "full";
|
# ProtectSystem = "full";
|
||||||
ProtectHome = true;
|
# ProtectHome = true;
|
||||||
ProtectHostname = true;
|
# ProtectHostname = true;
|
||||||
ProtectClock = true;
|
# ProtectClock = true;
|
||||||
ProtectKernelTunables = true;
|
# ProtectKernelTunables = true;
|
||||||
ProtectKernelModules = true;
|
# ProtectKernelModules = true;
|
||||||
ProtectKernelLogs = true;
|
# ProtectKernelLogs = true;
|
||||||
ProtectControlGroups = true;
|
# ProtectControlGroups = true;
|
||||||
RestrictNamespaces = "";
|
# RestrictNamespaces = "";
|
||||||
|
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
ReadOnlyPaths = lib.mkMerge [
|
ReadOnlyPaths = lib.mkMerge [
|
||||||
|
|
Loading…
Reference in a new issue