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] [pull]
exclude = ["*"] exclude = ["*"]
include = [ ".sops.yaml" ] include = []
[both] [both]
exclude = [ exclude = [

View File

@ -67,6 +67,9 @@ in
IF="" IF=""
fi fi
# shellcheck disable=SC2086
echo + curl $IF api.domeneshop.no...
${lib.concatMapStringsSep "\n" (target: '' ${lib.concatMapStringsSep "\n" (target: ''
# shellcheck disable=SC2086 # shellcheck disable=SC2086
curl $IF https://"$DOMENESHOP_TOKEN":"$DOMENESHOP_SECRET"@api.domeneshop.no/v0/dyndns/update?hostname="${target}" 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, ... }: { config, pkgs, lib, mkDomain, ... }:
{ {
services.nginx.virtualHosts.${"kuklef.se"} = { services.nginx.virtualHosts."kuklef.se" = {
forceSSL = true; # addSSL = true; forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain; enableACME = true; #useACMEHost = acmeDomain;
root = pkgs.writeTextDir "index.html" '' root = pkgs.writeTextDir "index.html" ''