Bumper to 20.03
This commit is contained in:
parent
fe6c5cf1ad
commit
e22fb8dc62
|
@ -25,7 +25,7 @@
|
|||
networking.hostName = "cuallaidh"; # Define your hostname.
|
||||
|
||||
nix.nixPath = [
|
||||
"nixpkgs=https://nixos.org/channels/nixos-19.09/nixexprs.tar.xz"
|
||||
"nixpkgs=https://nixos.org/channels/nixos-20.03/nixexprs.tar.xz"
|
||||
];
|
||||
|
||||
system.stateVersion = "19.03"; # The version of NixOS originally installed
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
server_name = "mcwhirter.io"; # Server's public domain name
|
||||
public_baseurl = "https://synapse.mcwhirter.io:443/"; # Matrix target URL
|
||||
web_client = true; # Whether to serve a web client
|
||||
create_local_database = true; # Whether to create a local database
|
||||
enable_registration = true; # Toggle user registration
|
||||
listeners = [ {
|
||||
bind_address = "::1"; # Listen on localhost only
|
||||
|
@ -101,18 +100,21 @@
|
|||
};
|
||||
};
|
||||
|
||||
security.acme.certs = {
|
||||
"chat.mcwhirter.io" = {
|
||||
group = "matrix-synapse";
|
||||
allowKeysForGroup = true;
|
||||
postRun = "systemctl reload nginx.service";
|
||||
email = "acme@mcwhirter.io";
|
||||
};
|
||||
"synapse.mcwhirter.io" = {
|
||||
group = "matrix-synapse";
|
||||
allowKeysForGroup = true;
|
||||
postRun = "systemctl reload nginx.service; systemctl restart matrix-synapse.service";
|
||||
email = "acme@mcwhirter.io";
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {
|
||||
"chat.mcwhirter.io" = {
|
||||
group = "matrix-synapse";
|
||||
allowKeysForGroup = true;
|
||||
postRun = "systemctl reload nginx.service";
|
||||
email = "acme@mcwhirter.io";
|
||||
};
|
||||
"synapse.mcwhirter.io" = {
|
||||
group = "matrix-synapse";
|
||||
allowKeysForGroup = true;
|
||||
postRun = "systemctl reload nginx.service; systemctl restart matrix-synapse.service";
|
||||
email = "acme@mcwhirter.io";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue