Fix failing vps1 checks
This commit is contained in:
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixFlakes;
|
package = pkgs.nixFlakes;
|
||||||
|
@ -39,7 +39,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
lt-cred-mech = true;
|
lt-cred-mech = true;
|
||||||
use-auth-secret = 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";
|
realm = "turn.vimium.com";
|
||||||
relay-ips = [
|
relay-ips = [
|
||||||
"198.244.190.160"
|
"198.244.190.160"
|
||||||
|
@ -109,7 +109,6 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
package = pkgs.unstable.matrix-synapse;
|
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
database.name = "sqlite3";
|
database.name = "sqlite3";
|
||||||
|
@ -134,8 +134,6 @@ in {
|
|||||||
extraConfig = nginxErrorPages + nginxEdgeHeaders + nginxStrictHeaders + ''
|
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;
|
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."/" = {
|
locations."/" = {
|
||||||
root = "/var/www/vimium.com";
|
root = "/var/www/vimium.com";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user