diff --git a/config/hosts/web-public-2/virtualHosts/nekover.se.nix b/config/hosts/web-public-2/virtualHosts/nekover.se.nix index 08a61ea..19a7766 100644 --- a/config/hosts/web-public-2/virtualHosts/nekover.se.nix +++ b/config/hosts/web-public-2/virtualHosts/nekover.se.nix @@ -16,7 +16,22 @@ ''; }; locations."/.well-known/matrix/client" = { - return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.nekover.se\"}, \"m.identity_server\": {\"base_url\": \"https://vector.im\"}, \"org.matrix.msc3575.proxy\": {\"url\": \"https://matrix.nekover.se\"}, \"org.matrix.msc2965.authentication\": {\"issuer\": \"https://id.nekover.se/realms/nekoverse\", \"account\": \"https://id.nekover.se/realms/nekoverse/account/\"}}'"; + return = "200 ' + { + \"m.homeserver\": { + \"base_url\": \"https://matrix.nekover.se\" + }, + \"m.identity_server\": { + \"base_url\": \"https://vector.im\" + }, + \"org.matrix.msc3575.proxy\": { + \"url\": \"https://matrix.nekover.se\" + }, + \"org.matrix.msc2965.authentication\": { + \"issuer\": \"https://nekover.se/\", + \"account\": \"https://matrix-auth.nekover.se/account\" + } + }'"; extraConfig = '' default_type application/json; add_header Access-Control-Allow-Origin *; diff --git a/flake.nix b/flake.nix index 1b59d82..3aae2d8 100644 --- a/flake.nix +++ b/flake.nix @@ -34,7 +34,7 @@ inherit nixpkgs-unstable nixpkgs-master hosts simple-nixos-mailserver pterodactyl; # Provide environment for secret key command - keyCommandEnv = [ "env" "GNUPGHOME=$HOME/.passinfra_gnupg" "PASSWORD_STORE_DIR=$HOME/pass/infra" ]; + keyCommandEnv = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" ]; }; }; } // builtins.mapAttrs (helper.generateColmenaHost) hosts;