diff --git a/deploy.sh b/deploy.sh index 9f50ae2..6f3d692 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,7 +5,6 @@ set -ex USERNAME="root" IP="gerd.fricloud.dk" NIXPKGS=$(nix build --impure --json --expr '(import ./shared/sources).nixpkgs' | jq -r '.[].outputs.out') -NIXPKGS=$(nix eval --impure --json --expr '(import ./shared/sources/default.nix).nixpkgs.outPath' | jq -r) export NIX_PATH="nixpkgs=$NIXPKGS" diff --git a/machines/gerd.nix b/machines/gerd.nix index 76dbd7c..cbc4941 100644 --- a/machines/gerd.nix +++ b/machines/gerd.nix @@ -55,10 +55,5 @@ }; }; - # TMP FIX FOR https://github.com/nix-community/impermanence/issues/229 - boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ]; - systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ]; - - system.stateVersion = "24.11"; } diff --git a/machines/gerd/services/element.nix b/machines/gerd/services/element.nix index 681b929..044a76b 100644 --- a/machines/gerd/services/element.nix +++ b/machines/gerd/services/element.nix @@ -12,11 +12,7 @@ let brand = config.mine.shared.settings.brand; default_theme = "dark"; - - features = { - feature_latex_maths = true; - feature_video_rooms = false; - }; + features.feature_latex_maths = true; }; }; in { diff --git a/machines/gerd/services/forgejo/forgejo.nix b/machines/gerd/services/forgejo/forgejo.nix index 0134cef..eb6e0b8 100644 --- a/machines/gerd/services/forgejo/forgejo.nix +++ b/machines/gerd/services/forgejo/forgejo.nix @@ -37,6 +37,10 @@ in { }; }; + # TODO(eyJhb): remove after our ban expires (and nginx config) + # already issued for this exact set of domains in the last 168 hours: git.fricloud.dk, retry after 2024-08-10T01:34:44Z + security.acme.certs."git.fricloud.dk".extraDomainNames = [ "git2.fricloud.dk" ]; + services.nginx.virtualHosts."${svc_domain}" = { forceSSL = true; enableACME = true; diff --git a/machines/gerd/services/forgejo/patches/link-accounts-template.patch b/machines/gerd/services/forgejo/patches/link-accounts-template.patch index 252d810..4e56395 100644 --- a/machines/gerd/services/forgejo/patches/link-accounts-template.patch +++ b/machines/gerd/services/forgejo/patches/link-accounts-template.patch @@ -1,26 +1,11 @@ diff --git a/templates/user/auth/link_account.tmpl b/templates/user/auth/link_account.tmpl -index e8bb3d409c..aa6d18b97a 100644 +index 8dd49ccd60..8cdce5e1ad 100644 --- a/templates/user/auth/link_account.tmpl +++ b/templates/user/auth/link_account.tmpl -@@ -4,12 +4,12 @@ -