From da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 13 Oct 2021 02:26:54 +0200 Subject: Move secrets to flakes --- modules/private/ftp.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/private/ftp.nix') 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 services.filesWatcher.pure-ftpd = { restart = true; - paths = [ "/var/secrets/pure-ftpd-ldap" ]; + paths = [ config.secrets.fullPaths."pure-ftpd-ldap" ]; }; systemd.services.pure-ftpd = let @@ -94,7 +94,7 @@ in SyslogFacility ftp DontResolve yes MaxIdleTime 15 - LDAPConfigFile /var/secrets/pure-ftpd-ldap + LDAPConfigFile ${config.secrets.fullPaths."pure-ftpd-ldap"} LimitRecursion 10000 8 AnonymousCanCreateDirs no MaxLoad 4 -- cgit v1.2.3