fixing issues on robi (nextcloud, transmission, ...)

This commit is contained in:
Ingolf Wagner 2022-08-27 03:03:02 +02:00
parent ff391fa462
commit 4748962698
Signed by: palo
GPG key ID: 76BF5F1928B9618B
5 changed files with 9 additions and 7 deletions

View file

@ -23,7 +23,7 @@
group = "upload";
};
users.groups.upload = {};
users.groups.upload = { };
sops.secrets.syncthing_cert = { };
sops.secrets.syncthing_key = { };

View file

@ -57,10 +57,8 @@
zsh.enable = true;
};
security.acme = {
acceptTerms = true;
email = "contact@ingolf-wagner.de";
};
security.acme.acceptTerms = true;
security.acme.defaults.email = "contact@ingolf-wagner.de";
sops.defaultSopsFile = ../../secrets/robi.yaml;
virtualisation.docker.enable = false;
@ -86,5 +84,5 @@
fsType = "ext4";
};
}
}

View file

@ -169,6 +169,8 @@ in
config = { config, pkgs, lib, ... }: {
system.stateVersion = "21.05";
users.users.nextcloud.uid = nextcloudUid;
services.nginx = {
@ -179,7 +181,6 @@ in
recommendedTlsSettings = lib.mkDefault true;
};
networking.firewall.allowedTCPPorts = [ 80 ];
networking.firewall.allowedUDPPorts = [ 80 ];
@ -253,6 +254,7 @@ in
dbtype = "mysql";
dbpassFile = "/run/secrets/nextcloud_database_password";
dbport = 3306;
defaultPhoneRegion = "DE";
};
};
};

View file

@ -33,6 +33,7 @@ in
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedProxySettings = true;

View file

@ -100,6 +100,7 @@ in
config = { config, pkgs, lib, ... }: {
system.stateVersion = "21.05";
services.journald.extraConfig = "SystemMaxUse=1G";
# allow transmission to write in syncthing folders