diff --git a/hosts/hitsugibune/configuration.nix b/hosts/hitsugibune/configuration.nix index d3783e6..d90e62c 100644 --- a/hosts/hitsugibune/configuration.nix +++ b/hosts/hitsugibune/configuration.nix @@ -9,6 +9,7 @@ in { imports = [ ./hardware-configuration.nix + ./nextcloud.nix inputs.mms.module ]; diff --git a/hosts/hitsugibune/nextcloud.nix b/hosts/hitsugibune/nextcloud.nix new file mode 100644 index 0000000..561d6e6 --- /dev/null +++ b/hosts/hitsugibune/nextcloud.nix @@ -0,0 +1,21 @@ +{config}: { + # This is only a temporary password and will be changed + environment.etc."nextcloud-admin-pass".text = "samc"; + services.nextcloud = { + enable = true; + hostName = "sprechtl.ddns.net"; + https = true; + }; + + services.nginx.virtualHosts.${config.services.nextcloud.hostName} = { + forceSSL = true; + enableACME = true; + }; + + security.acme = { + acceptTerms = true; + certs = { + ${config.services.nextcloud.hostName}.email = "stefan@tague.at"; + }; + }; +} diff --git a/hosts/saberofxebec/configuration.nix b/hosts/saberofxebec/configuration.nix index 6e3b758..8bbbff9 100644 --- a/hosts/saberofxebec/configuration.nix +++ b/hosts/saberofxebec/configuration.nix @@ -145,7 +145,7 @@ in { Session.AlternativeGlobalUPSpeedLimit = 1000; Session.BandwidthSchedulerEnabled = true; Session.ExcludedFileNames = ""; - Session.QueueingSystemEnabled = false; + Session.QueueingSystemEnabled = false; Session.GlobalMaxInactiveSeedingMinutes = 1440; Session.GlobalMaxRatio = 2; Session.GlobalMaxSeedingMinutes = 1440;