This commit is contained in:
Peder Bergebakken Sundt 2024-12-23 22:40:44 +01:00
parent b65b237765
commit ed0695b1ed
3 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@ include = []
[pull]
exclude = ["*"]
include = [ ".sops.yaml" ]
include = []
[both]
exclude = [

View File

@ -67,6 +67,9 @@ in
IF=""
fi
# shellcheck disable=SC2086
echo + curl $IF api.domeneshop.no...
${lib.concatMapStringsSep "\n" (target: ''
# shellcheck disable=SC2086
curl $IF https://"$DOMENESHOP_TOKEN":"$DOMENESHOP_SECRET"@api.domeneshop.no/v0/dyndns/update?hostname="${target}"

View File

@ -1,6 +1,6 @@
{ config, pkgs, lib, mkDomain, ... }:
{
services.nginx.virtualHosts.${"kuklef.se"} = {
services.nginx.virtualHosts."kuklef.se" = {
forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain;
root = pkgs.writeTextDir "index.html" ''