Bumper to 20.03

This commit is contained in:
Craige McWhirter 2020-04-22 08:14:39 +10:00
parent fe6c5cf1ad
commit e22fb8dc62
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 16 additions and 14 deletions

View file

@ -25,7 +25,7 @@
networking.hostName = "cuallaidh"; # Define your hostname. networking.hostName = "cuallaidh"; # Define your hostname.
nix.nixPath = [ 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 system.stateVersion = "19.03"; # The version of NixOS originally installed

View file

@ -15,7 +15,6 @@
server_name = "mcwhirter.io"; # Server's public domain name server_name = "mcwhirter.io"; # Server's public domain name
public_baseurl = "https://synapse.mcwhirter.io:443/"; # Matrix target URL public_baseurl = "https://synapse.mcwhirter.io:443/"; # Matrix target URL
web_client = true; # Whether to serve a web client 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 enable_registration = true; # Toggle user registration
listeners = [ { listeners = [ {
bind_address = "::1"; # Listen on localhost only bind_address = "::1"; # Listen on localhost only
@ -101,18 +100,21 @@
}; };
}; };
security.acme.certs = { security.acme = {
"chat.mcwhirter.io" = { acceptTerms = true;
group = "matrix-synapse"; certs = {
allowKeysForGroup = true; "chat.mcwhirter.io" = {
postRun = "systemctl reload nginx.service"; group = "matrix-synapse";
email = "acme@mcwhirter.io"; allowKeysForGroup = true;
}; postRun = "systemctl reload nginx.service";
"synapse.mcwhirter.io" = { email = "acme@mcwhirter.io";
group = "matrix-synapse"; };
allowKeysForGroup = true; "synapse.mcwhirter.io" = {
postRun = "systemctl reload nginx.service; systemctl restart matrix-synapse.service"; group = "matrix-synapse";
email = "acme@mcwhirter.io"; allowKeysForGroup = true;
postRun = "systemctl reload nginx.service; systemctl restart matrix-synapse.service";
email = "acme@mcwhirter.io";
};
}; };
}; };