From: Dominik Kaiser Date: Sun, 16 Feb 2025 18:13:34 +0000 (+0100) Subject: Setup gitweb on antares X-Git-Url: https://git.dkaiser.de/?a=commitdiff_plain;h=733d760b7feafcf60a382b3390eaa1d723fb3d55;p=config%2Fnixos.git Setup gitweb on antares --- diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix index 9550047..494af51 100644 --- a/hosts/antares/configuration.nix +++ b/hosts/antares/configuration.nix @@ -42,6 +42,28 @@ }; + services.gitweb = { + projectroot = "/home/git"; + }; + + services.nginx = { + enable = true; + + gitweb = { + enable = true; + virtualHost = "dkaiser.de"; + }; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedProxySettings = true; + recommendedTlsSettings = true; + + virtualHosts = "dkaiser.de" = { + forceSSL = true; + enableACME = true; + }; + }; + environment.systemPackages = map lib.lowPrio [ pkgs.curl pkgs.gitMinimal