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,7 +100,9 @@
}; };
}; };
security.acme.certs = { security.acme = {
acceptTerms = true;
certs = {
"chat.mcwhirter.io" = { "chat.mcwhirter.io" = {
group = "matrix-synapse"; group = "matrix-synapse";
allowKeysForGroup = true; allowKeysForGroup = true;
@ -115,6 +116,7 @@
email = "acme@mcwhirter.io"; email = "acme@mcwhirter.io";
}; };
}; };
};
networking.firewall = { networking.firewall = {
enable = true; enable = true;