Compare commits

...

2 Commits

2 changed files with 10 additions and 4 deletions

View File

@ -272,6 +272,12 @@
startAt = "daily"; startAt = "daily";
}; };
services.seafile = {
enable = true;
initialAdminPassword = "admin";
adminEmail = "asmir.abdulahovic" + "@" + "gmail.com";
};
/* /*
needed for sendmail mail functionality needed for sendmail mail functionality
*/ */

View File

@ -215,7 +215,9 @@
description = "wg network interface"; description = "wg network interface";
bindsTo = ["netns@wg.service"]; bindsTo = ["netns@wg.service"];
requires = ["network-online.target"]; requires = ["network-online.target"];
wants = ["dnscrypt-proxy2_proton.service"];
after = ["netns@wg.service"]; after = ["netns@wg.service"];
before = ["dnscrypt-proxy2_proton.service"];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
@ -249,11 +251,9 @@
"network-online.target" "network-online.target"
"nss-lookup.target" "nss-lookup.target"
]; ];
before = [ before = ["nss-lookup.target"];
"nss-lookup.target"
];
after = ["wg_proton.service"]; after = ["wg_proton.service"];
bindsTo = ["netns@wg.service"]; partOf = ["wg_proton.service"];
serviceConfig = { serviceConfig = {
AmbientCapabilities = "CAP_NET_BIND_SERVICE"; AmbientCapabilities = "CAP_NET_BIND_SERVICE";
CacheDirectory = "dnscrypt-proxy"; CacheDirectory = "dnscrypt-proxy";