diff options
| author | Dominik Kaiser | 2025-02-16 19:13:34 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-16 19:13:34 +0100 |
| commit | 733d760b7feafcf60a382b3390eaa1d723fb3d55 (patch) | |
| tree | 4976e7acc436ec81dea2c8c515caeb58735d1c92 /hosts | |
| parent | e16f1db3d91508c380550c7fe9f0523022830f7f (diff) | |
| download | nixos-733d760b7feafcf60a382b3390eaa1d723fb3d55.tar.gz nixos-733d760b7feafcf60a382b3390eaa1d723fb3d55.zip | |
Setup gitweb on antares
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/antares/configuration.nix | 22 |
1 files changed, 22 insertions, 0 deletions
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 |
