diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-09 15:40:28 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-09 15:40:28 -0400 |
commit | 8ec744d518f97ad64ab22af401a347e65ce6e0e6 (patch) | |
tree | 02940f25af12d773f223833e430ae3e419ffb189 | |
parent | 789621a810a5b27580cde0b89f250817a02ffd0d (diff) |
fix cgit
-rw-r--r-- | machines/git/configuration.nix | 1 | ||||
-rw-r--r-- | modules/git/cgit.nix | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/machines/git/configuration.nix b/machines/git/configuration.nix index 732497e..dae0b2f 100644 --- a/machines/git/configuration.nix +++ b/machines/git/configuration.nix @@ -13,6 +13,7 @@ in { "core/global.nix" "core/impermanence.nix" "git/compromyse.nix" + "git/cgit.nix" ]); networking.hostName = "git"; diff --git a/modules/git/cgit.nix b/modules/git/cgit.nix index 386301f..68ba127 100644 --- a/modules/git/cgit.nix +++ b/modules/git/cgit.nix @@ -1,9 +1,9 @@ -{ config, ... }: +{ config, pkgs, ... }: let repositoryPath = "/home/compromyse"; in { - services.cgit = { + services.cgit."localhost" = { enable = true; scanPath = repositoryPath; settings = { |