diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/git/cgit.nix | 2 | ||||
| -rw-r--r-- | modules/git/cgit_theme.css | 4 | 
2 files changed, 6 insertions, 0 deletions
| diff --git a/modules/git/cgit.nix b/modules/git/cgit.nix index c16f424..c54f19a 100644 --- a/modules/git/cgit.nix +++ b/modules/git/cgit.nix @@ -16,6 +16,8 @@ in {        enable-commit-graph = true;        enable-follow-links = true;        source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; + +      head-include=/config/modules/git/cgit_theme.css      };      nginx.virtualHost = "git.compromyse.xyz";    }; diff --git a/modules/git/cgit_theme.css b/modules/git/cgit_theme.css index 3d362ec..a161e89 100644 --- a/modules/git/cgit_theme.css +++ b/modules/git/cgit_theme.css @@ -1,3 +1,5 @@ +<style> +  :root {      --bg_h: #1d2021;      --bg:   #282828; @@ -169,3 +171,5 @@ div#cgit table.diffstat td.graph td.add {  div#cgit table.diffstat td.graph td.rem {      background: var(--red);  } + +</style> | 
