Heya!
I’m trying to use nix with cgit and override the css. services.cgit generates the following in nginx
location = /cgit.css {
alias /nix/store/xdhdwg06fksdvzmavizvirs7ww8jaqi7-cgit-1.2.3/cgit/cgit.css;
}
I want to replace it with my own css file and so I added the following
services.nginx.virtualHosts.<name>.locations."= /cgit.css" = {
alias = "${cgitCss}";
}
However, that seems to generate a duplicate
location = /cgit.css {
alias /nix/store/pgwwjvwpdpmhbva3hz0s1rdbkkqyrgdj-cgit.css;
alias /nix/store/xdhdwg06fksdvzmavizvirs7ww8jaqi7-cgit-1.2.3/cgit/cgit.css;
}
Is there any way to override the results? I’d like there to only be one alias.