summaryrefslogtreecommitdiff
path: root/hosts/antares/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/antares/configuration.nix')
-rw-r--r--hosts/antares/configuration.nix22
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