From 88017f5a874478dd82f306a5df88c38a8d06fcb6 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 16 Jan 2025 19:57:13 -0500 Subject: fix: format flake with `nixfmt-rfc-style` --- modules/services/sftpgo/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'modules/services/sftpgo/default.nix') 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; - }]; + }; }; }; -- cgit v1.2.3