diff --git a/hosts/servers/oasis/default.nix b/hosts/servers/oasis/default.nix index 234103f..2de0542 100644 --- a/hosts/servers/oasis/default.nix +++ b/hosts/servers/oasis/default.nix @@ -28,4 +28,6 @@ "zfs-zed" ]; }; + + services.sftpgo.dataDir = "/tank/sftpgo"; } diff --git a/modules/sftpgo/default.nix b/modules/sftpgo/default.nix index a8cad25..264f78d 100644 --- a/modules/sftpgo/default.nix +++ b/modules/sftpgo/default.nix @@ -3,7 +3,6 @@ services.sftpgo = { enable = true; package = pkgs.sftpgo; - dataDir = "/var/lib/sftpgo"; settings = { httpd.bindings = [{ port = 8080;