diff --git a/sovr/etc/nixos/configuration.nix b/sovr/etc/nixos/configuration.nix index e0b0a7f..703c3d4 100644 --- a/sovr/etc/nixos/configuration.nix +++ b/sovr/etc/nixos/configuration.nix @@ -41,6 +41,22 @@ programs.neovim.enable = true; programs.neovim.defaultEditor = true; + security.acme = { + acceptTerms = true; + certs."_.sovr.cloud" = { + dnsProvider = "porkbun"; + domain = "*.sovr.cloud"; + environmentFile = "/opt/keys/porkbun"; + group = "nginx"; + }; + /*certs."sovr.cloud" = { + dnsProvider = "porkbun"; + domain = "sovr.cloud"; + environmentFile = "/opt/keys/porkbun"; + group = "nginx"; + };*/ + defaults.email = "eli@theribbles.org"; + }; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";