From 99e940770b61db350379d692df7cf3831ef4bd92 Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 26 Jan 2025 11:34:28 -0500 Subject: services: major overhaul on service modules --- modules/services/cgit/default.nix | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 modules/services/cgit/default.nix (limited to 'modules/services/cgit') diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix deleted file mode 100644 index 7e2955a..0000000 --- a/modules/services/cgit/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - inputs, - pkgs, - ... -}: -let - scanPath = "/tank/git"; - domain = "git.tdback.net"; -in -{ - imports = [ "${inputs.self}/modules/customs/cgit" ]; - - services.cgit = { - enable = true; - package = pkgs.cgit; - scanPath = scanPath; - virtualHost = domain; - authorizedKeys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEzLpTEoej7P04KoNzokQ9IOnNZiKyi2+YQ8yU5WSKCb" - ]; - settings = { - root-title = domain; - root-desc = "tdback's git repositories"; - enable-index-links = 1; - enable-index-owner = 0; - enable-commit-graph = 1; - enable-log-filecount = 1; - enable-log-linecount = 1; - readme = ":README.md"; - }; - }; -} -- cgit v1.2.3