diff options
author | tdback <tyler@tdback.net> | 2025-01-16 19:57:13 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-16 19:57:13 -0500 |
commit | 88017f5a874478dd82f306a5df88c38a8d06fcb6 (patch) | |
tree | 8806c58c4f21bb6a56d8530df8a93b256d44b4f3 /modules/services | |
parent | 01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff) |
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/cgit/default.nix | 8 | ||||
-rw-r--r-- | modules/services/proxy/default.nix | 5 | ||||
-rw-r--r-- | modules/services/sftpgo/default.nix | 11 |
3 files changed, 18 insertions, 6 deletions
diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix index 5309e6f..7e2955a 100644 --- a/modules/services/cgit/default.nix +++ b/modules/services/cgit/default.nix @@ -1,10 +1,14 @@ -{ inputs, lib, pkgs, ... }: +{ + inputs, + pkgs, + ... +}: let scanPath = "/tank/git"; domain = "git.tdback.net"; in { - imports = lib.lists.singleton "${inputs.self}/modules/customs/cgit"; + imports = [ "${inputs.self}/modules/customs/cgit" ]; services.cgit = { enable = true; diff --git a/modules/services/proxy/default.nix b/modules/services/proxy/default.nix index e11beab..c70bb54 100644 --- a/modules/services/proxy/default.nix +++ b/modules/services/proxy/default.nix @@ -5,5 +5,8 @@ package = pkgs.caddy; }; - networking.firewall.allowedTCPPorts = [ 80 443 ]; + networking.firewall.allowedTCPPorts = [ + 80 + 443 + ]; } 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; - }]; + }; }; }; |