Server fix

This commit is contained in:
Aleksandr Lebedev 2025-08-11 10:16:34 +02:00
parent df711fbbe6
commit 71f7399742
3 changed files with 4 additions and 4 deletions

View file

@ -131,9 +131,9 @@
deploy.nodes.server = {
hostname = "kylekrein.com";
interactiveSudo = false;
interactiveSudo = true;
profiles.system = {
user = "kylekrein";
user = "root";
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.kylekrein-server;
};
};

View file

@ -200,7 +200,7 @@ in {
'';
};
global.registration_token = lib.mkOption {
type = lib.types.str;
type = lib.types.nullOr lib.types.str;
default = "";
description = ''
'';

View file

@ -108,7 +108,7 @@
port = [6167];
trusted_servers = ["matrix.org"];
allow_registration = false;
registration_token = ""; #nix shell nixpkgs#openssl -c openssl rand -base64 48 | tr -d '/+' | cut -c1-64
registration_token = null;#nix shell nixpkgs#openssl -c openssl rand -base64 48 | tr -d '/+' | cut -c1-64
allow_federation = true;
allow_encryption = true;