Update Flake inputs

This commit is contained in:
Paul-Henri Froidmont 2022-06-22 18:52:20 +02:00
parent d7aea202d7
commit 1808cdc632
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
6 changed files with 86 additions and 62 deletions

View file

@ -62,8 +62,9 @@ in
services.nextcloud = {
enable = true;
package = pkgs.nextcloud22;
package = pkgs.nextcloud24;
hostName = "cloud.${config.networking.domain}";
https = true;
config = {
dbtype = "pgsql";
dbuser = "nextcloud";

View file

@ -1,6 +1,6 @@
{ pkgs, lib, config, ... }:
{
security.acme.email = "letsencrypt.account@banditlair.com";
security.acme.defaults.email = "letsencrypt.account@banditlair.com";
security.acme.acceptTerms = true;
services.nginx = {

View file

@ -17,9 +17,6 @@ let
'';
in
{
security.acme.email = "letsencrypt.account@banditlair.com";
security.acme.acceptTerms = true;
services.nginx = {
virtualHosts = {
# This host section can be placed on a different host than the rest,
@ -113,26 +110,34 @@ in
services.matrix-synapse = {
enable = true;
server_name = config.networking.domain;
listeners = [
{
port = 8008;
bind_address = "::1";
type = "http";
tls = false;
x_forwarded = true;
resources = [
{
names = [ "client" "federation" ];
compress = false;
}
];
}
];
database_type = "psycopg2";
database_args = {
host = "fake"; # This section is overriden in deploy_nixos keys
settings = {
server_name = config.networking.domain;
listeners = [
{
port = 8008;
bind_addresses = [ "::1" ];
type = "http";
tls = false;
x_forwarded = true;
resources = [
{
names = [ "client" "federation" ];
compress = false;
}
];
}
];
database = {
name = "psycopg2";
args = {
host = "fake"; # This section is overriden by "extraConfigFiles"
};
};
};
dataDir = "/nix/var/data/matrix-synapse";
extraConfigFiles = [ "/run/synapse/synapse-db-config.yaml" ];
};