aboutsummaryrefslogtreecommitdiff
path: root/modules/services/sftpgo
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/sftpgo')
-rw-r--r--modules/services/sftpgo/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/services/sftpgo/default.nix b/modules/services/sftpgo/default.nix
index 27318b2..de8b5b1 100644
--- a/modules/services/sftpgo/default.nix
+++ b/modules/services/sftpgo/default.nix
@@ -1,15 +1,20 @@
-{ config, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
{
services.sftpgo = {
enable = true;
package = pkgs.sftpgo;
settings = {
- httpd.bindings = [{
+ httpd.bindings = lib.singleton {
port = 8080;
address = "0.0.0.0";
enable_web_client = true;
enable_web_admin = true;
- }];
+ };
};
};