use default dataDir, but specify a different one on the particular system
This commit is contained in:
parent
b7c9bf8be6
commit
d3ab1fdd58
2 changed files with 2 additions and 1 deletions
|
@ -28,4 +28,6 @@
|
||||||
"zfs-zed"
|
"zfs-zed"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.sftpgo.dataDir = "/tank/sftpgo";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue