Server fix
This commit is contained in:
parent
df711fbbe6
commit
71f7399742
3 changed files with 4 additions and 4 deletions
|
|
@ -131,9 +131,9 @@
|
||||||
|
|
||||||
deploy.nodes.server = {
|
deploy.nodes.server = {
|
||||||
hostname = "kylekrein.com";
|
hostname = "kylekrein.com";
|
||||||
interactiveSudo = false;
|
interactiveSudo = true;
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
user = "kylekrein";
|
user = "root";
|
||||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.kylekrein-server;
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.kylekrein-server;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
global.registration_token = lib.mkOption {
|
global.registration_token = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
default = "";
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@
|
||||||
port = [6167];
|
port = [6167];
|
||||||
trusted_servers = ["matrix.org"];
|
trusted_servers = ["matrix.org"];
|
||||||
allow_registration = false;
|
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_federation = true;
|
||||||
allow_encryption = true;
|
allow_encryption = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue