diff options
Diffstat (limited to 'modules/private/ftp.nix')
-rw-r--r-- | modules/private/ftp.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/ftp.nix b/modules/private/ftp.nix index 233031a..07db0f4 100644 --- a/modules/private/ftp.nix +++ b/modules/private/ftp.nix | |||
@@ -75,7 +75,7 @@ in | |||
75 | 75 | ||
76 | services.filesWatcher.pure-ftpd = { | 76 | services.filesWatcher.pure-ftpd = { |
77 | restart = true; | 77 | restart = true; |
78 | paths = [ "/var/secrets/pure-ftpd-ldap" ]; | 78 | paths = [ config.secrets.fullPaths."pure-ftpd-ldap" ]; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | systemd.services.pure-ftpd = let | 81 | systemd.services.pure-ftpd = let |
@@ -94,7 +94,7 @@ in | |||
94 | SyslogFacility ftp | 94 | SyslogFacility ftp |
95 | DontResolve yes | 95 | DontResolve yes |
96 | MaxIdleTime 15 | 96 | MaxIdleTime 15 |
97 | LDAPConfigFile /var/secrets/pure-ftpd-ldap | 97 | LDAPConfigFile ${config.secrets.fullPaths."pure-ftpd-ldap"} |
98 | LimitRecursion 10000 8 | 98 | LimitRecursion 10000 8 |
99 | AnonymousCanCreateDirs no | 99 | AnonymousCanCreateDirs no |
100 | MaxLoad 4 | 100 | MaxLoad 4 |