use default dataDir, but specify a different one on the particular system

This commit is contained in:
tdback 2024-11-17 12:34:48 -05:00
parent b7c9bf8be6
commit d3ab1fdd58
2 changed files with 2 additions and 1 deletions

View file

@ -28,4 +28,6 @@
"zfs-zed" "zfs-zed"
]; ];
}; };
services.sftpgo.dataDir = "/tank/sftpgo";
} }

View file

@ -3,7 +3,6 @@
services.sftpgo = { services.sftpgo = {
enable = true; enable = true;
package = pkgs.sftpgo; package = pkgs.sftpgo;
dataDir = "/var/lib/sftpgo";
settings = { settings = {
httpd.bindings = [{ httpd.bindings = [{
port = 8080; port = 8080;