aboutsummaryrefslogtreecommitdiff
path: root/modules/private/ftp.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-13 02:26:54 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-16 01:39:24 +0200
commitda30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 (patch)
treebd45012713b065829c1991e55d52081a8baef58a /modules/private/ftp.nix
parentbd5c5d4e23ebd3863a960976767ed4a83dfd07fe (diff)
downloadNix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.tar.gz
Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.tar.zst
Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.zip
Move secrets to flakes
Diffstat (limited to 'modules/private/ftp.nix')
-rw-r--r--modules/private/ftp.nix4
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