diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-06-07 22:05:23 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-06-07 22:05:23 -0600 |
| commit | 0b7309875de39ae69c0cc8cf815123ce22eb13c1 (patch) | |
| tree | b31224492f006a1b0b648d8ed1d3386f909e9a74 /modules/nixos/cgit.nix | |
| parent | cecf86baec5259e6216f214abec1874f54eaf143 (diff) | |
| parent | 6bee392d2cbb5da51e66626bc98c1783ae6f57f8 (diff) | |
Merge branch 'master' of ssh://bosco:/srv/git/.flake
Diffstat (limited to 'modules/nixos/cgit.nix')
| -rw-r--r-- | modules/nixos/cgit.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/nixos/cgit.nix b/modules/nixos/cgit.nix index 177158a..a5b4013 100644 --- a/modules/nixos/cgit.nix +++ b/modules/nixos/cgit.nix @@ -1,12 +1,13 @@ -{ config, ... } : { # This is for hosting on bosco +{ config, pkgs, ... } : { # This is for hosting on bosco services.cgit = { "git.myrmexia.xyz" = { enable = true; - nginx.location = "/git/"; + nginx.location = "/"; # nginx.virtualHost = "git.myrmexia.xyz"; settings = { enable-commit-graph = 1; enable-http-clone = 0; + source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; }; repos = { nixos-flake = { |
