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
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
5 changed files with 9 additions and 7 deletions

View file

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

View file

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

View file

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

View file

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