blob: f3ef1bdff32235cadb8f997345582dffe0c7846b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ lib, pkgs, config, mylibs, ... }:
let
cfg = config.services.myGitweb;
in {
options.services.myGitweb = {
enable = lib.mkEnableOption "my gitweb service";
};
config = lib.mkIf cfg.enable {
security.acme.certs."eldiron".extraDomains."git.immae.eu" = null;
nixpkgs.config.packageOverrides = oldpkgs: rec {
gitweb = oldpkgs.gitweb.overrideAttrs(old: {
installPhase = old.installPhase + ''
cp -r ${./gitweb/theme} $out/gitweb-theme;
'';
});
};
};
}
|