diff options
| author | Dominik Kaiser | 2025-02-16 22:58:25 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-16 22:58:25 +0100 |
| commit | 5e48148b2a3408a205b3839f523a405c74b62713 (patch) | |
| tree | a47b55e1c17c9d5ebd22f0db4acbfa063e7059ed /hosts | |
| parent | 43fa7465b1ba90f58c07e937deae6baef08b477c (diff) | |
| download | nixos-5e48148b2a3408a205b3839f523a405c74b62713.tar.gz nixos-5e48148b2a3408a205b3839f523a405c74b62713.zip | |
Add SSL certification to git on antares
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/antares/configuration.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix index 46100a3..33d5f5e 100644 --- a/hosts/antares/configuration.nix +++ b/hosts/antares/configuration.nix @@ -72,6 +72,18 @@ recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; + + virtualHosts."git.dkaiser.de" = { + forceSSL = true; + enableACME = true; + }; + }; + + security.acme = { + acceptTerms = true; + defaults = { + email = "dominik-kaiser@mailbox.org"; + }; }; environment.systemPackages = map lib.lowPrio [ |
