Fix failing vps1 checks

This commit is contained in:
2024-01-21 00:15:59 +00:00
parent ea939b2e15
commit d74e0032bb
5 changed files with 3 additions and 5 deletions

View File

@ -112,7 +112,7 @@
};
};
# checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
};
}

View File

@ -36,6 +36,7 @@
'';
users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true;
nix = {
package = pkgs.nixFlakes;

View File

@ -39,7 +39,7 @@ in {
enable = true;
lt-cred-mech = true;
use-auth-secret = true;
static-auth-secret-file = config.age.secrets."passwords/services/coturn/shared-secret";
static-auth-secret-file = config.age.secrets."passwords/services/coturn/shared-secret".path;
realm = "turn.vimium.com";
relay-ips = [
"198.244.190.160"

View File

@ -109,7 +109,6 @@ in {
};
services.matrix-synapse = {
package = pkgs.unstable.matrix-synapse;
enable = true;
settings = {
database.name = "sqlite3";

View File

@ -134,8 +134,6 @@ in {
extraConfig = nginxErrorPages + nginxEdgeHeaders + nginxStrictHeaders + ''
add_header Content-Security-Policy "default-src 'self' https://vimium.com https://www.vimium.com; style-src 'unsafe-inline'; object-src 'none'; upgrade-insecure-requests" always;
'';
locations."= /.well-known/matrix/server".extraConfig = (mkWellKnown matrixServerConfig);
locations."= /.well-known/matrix/client".extraConfig = (mkWellKnown matrixClientConfig);
locations."/" = {
root = "/var/www/vimium.com";
};