Added todos
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# TODO: Add expose options for this module
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
@@ -67,6 +68,22 @@ in {
|
|||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
ExecStart = lib.getExe cfg.package;
|
ExecStart = lib.getExe cfg.package;
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
# TODO: These are from nixpkgs, add them back if we add expose options
|
||||||
|
# ProtectHome = true;
|
||||||
|
# ProtectSystem = "strict";
|
||||||
|
# PrivateTmp = true;
|
||||||
|
# PrivateDevices = true;
|
||||||
|
# ProtectHostname = true;
|
||||||
|
# ProtectClock = true;
|
||||||
|
# ProtectKernelTunables = true;
|
||||||
|
# ProtectKernelModules = true;
|
||||||
|
# ProtectKernelLogs = true;
|
||||||
|
# ProtectControlGroups = true;
|
||||||
|
# NoNewPrivileges = true;
|
||||||
|
# RestrictRealtime = true;
|
||||||
|
# RestrictSUIDSGID = true;
|
||||||
|
# RemoveIPC = true;
|
||||||
|
# PrivateMounts = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user