format + tree-sitter
This commit is contained in:
@@ -60,14 +60,21 @@ lib.mkIf hasMailDiscoveryConfig (
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
ExecStart = lib.concatStringsSep " " [
|
||||
"${pkgs.python3}/bin/python3"
|
||||
"${generatorScript}"
|
||||
"--domain" domain
|
||||
"--mail-host" cfg.fqdn
|
||||
"--radicale-host" radicaleHost
|
||||
"--port" (toString mobileconfigPort)
|
||||
] + defaultUsernameArg + accountArgs;
|
||||
ExecStart =
|
||||
lib.concatStringsSep " " [
|
||||
"${pkgs.python3}/bin/python3"
|
||||
"${generatorScript}"
|
||||
"--domain"
|
||||
domain
|
||||
"--mail-host"
|
||||
cfg.fqdn
|
||||
"--radicale-host"
|
||||
radicaleHost
|
||||
"--port"
|
||||
(toString mobileconfigPort)
|
||||
]
|
||||
+ defaultUsernameArg
|
||||
+ accountArgs;
|
||||
NoNewPrivileges = true;
|
||||
PrivateTmp = true;
|
||||
ProtectHome = true;
|
||||
|
||||
Reference in New Issue
Block a user