Fuck it, allow everything for now

This commit is contained in:
niten 2023-01-22 16:08:13 -08:00
parent 9ea8c59f48
commit f92c5ce3a3
1 changed files with 17 additions and 18 deletions

View File

@ -63,26 +63,25 @@ in {
OBJECTIFIER_BUFFER_SIZE = "524288";
OBJECTIFIER_CLEANUP_MAX_AGE = toString cfg.cleanup.max_file_age;
OBJECTIFIER_CLEANUP_DELAY = toString cfg.cleanup.delay;
TMPDIR = "/tmp";
};
serviceConfig = {
PrivateUsers = true;
PrivateDevices = true;
PrivateTmp = true;
PrivateMounts = true;
ProtectControlGroups = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
ProtectSystem = true;
ProtectHostname = true;
ProtectHome = true;
ProtectClock = true;
ProtectKernelLogs = true;
DynamicUser = true;
MemoryDenyWriteExecute = true;
RestrictRealtime = true;
LockPersonality = true;
PermissionsStartOnly = true;
# PrivateUsers = true;
# PrivateDevices = true;
# PrivateTmp = true;
# PrivateMounts = true;
# ProtectControlGroups = true;
# ProtectKernelTunables = true;
# ProtectKernelModules = true;
# ProtectSystem = true;
# ProtectHostname = true;
# ProtectHome = true;
# ProtectClock = true;
# ProtectKernelLogs = true;
# DynamicUser = true;
# MemoryDenyWriteExecute = true;
# RestrictRealtime = true;
# LockPersonality = true;
# PermissionsStartOnly = true;
WorkingDirectory = "${pkgs.objectifier}";
StateDirectory = "objectifier";
CacheDirectory = "objectifier";