about summary refs log tree commit diff
path: root/modules/services/git-daemon.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-11 02:11:21 +0900
committersefidel <contact@sefidel.net>2024-02-11 02:15:33 +0900
commitf4d8ab880a58e00af5a7fcda112baa7de2f8f0df (patch)
treea93467f9cdae84f38e00c95a62464709fa222b82 /modules/services/git-daemon.nix
parent955671dc0751f320d22ca5cfd2b0a2eb60dd8a99 (diff)
downloadinfra-f4d8ab880a58e00af5a7fcda112baa7de2f8f0df.tar.gz
infra-f4d8ab880a58e00af5a7fcda112baa7de2f8f0df.zip
feat(project)!: support nixos-rebuild and hydra
Diffstat (limited to 'modules/services/git-daemon.nix')
-rw-r--r--modules/services/git-daemon.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/services/git-daemon.nix b/modules/services/git-daemon.nix
deleted file mode 100644
index 5d027de..0000000
--- a/modules/services/git-daemon.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ config, lib, ... }:
-
-with lib;
-let
-  cfg = config.modules.services.gitDaemon;
-in
-{
-  disabledModules = [
-    "services/networking/git-daemon.nix"
-  ];
-
-  imports = [
-    ../../overlays/git-daemon-module.nix
-  ];
-
-  options.modules.services.gitDaemon = {
-    enable = mkEnableOption "git daemon";
-  };
-
-  config = mkIf cfg.enable {
-    services.gitDaemon = {
-      enable = true;
-      createUserAndGroup = false;
-      basePath = "/var/lib/gitolite/repositories";
-    };
-
-    networking.firewall.allowedTCPPorts = [ 9418 ];
-  };
-}