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";
|
group = "upload";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.upload = {};
|
users.groups.upload = { };
|
||||||
|
|
||||||
sops.secrets.syncthing_cert = { };
|
sops.secrets.syncthing_cert = { };
|
||||||
sops.secrets.syncthing_key = { };
|
sops.secrets.syncthing_key = { };
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue