From d3ab1fdd58c96f5142bb1e849508e28665adf666 Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 17 Nov 2024 12:34:48 -0500 Subject: [PATCH] use default dataDir, but specify a different one on the particular system --- hosts/servers/oasis/default.nix | 2 ++ modules/sftpgo/default.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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;