fixing issues on robi (nextcloud, transmission, ...)
This commit is contained in:
parent
ff391fa462
commit
4748962698
5 changed files with 9 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
|||
group = "upload";
|
||||
};
|
||||
|
||||
users.groups.upload = {};
|
||||
users.groups.upload = { };
|
||||
|
||||
sops.secrets.syncthing_cert = { };
|
||||
sops.secrets.syncthing_key = { };
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -33,6 +33,7 @@ in
|
|||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedUDPPorts = [ 80 443 ];
|
||||
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue