diff options
-rw-r--r-- | config/web-server.nix | 2 | ||||
-rw-r--r-- | machines/dragon.nix | 1 | ||||
-rw-r--r-- | modules/nextcloud.nix | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/config/web-server.nix b/config/web-server.nix index 8f008d1..47bf4a3 100644 --- a/config/web-server.nix +++ b/config/web-server.nix @@ -133,7 +133,7 @@ "git.orbekk.com" = template // { locations."/".proxyPass = "http://localhost:11103"; }; - nextcloud = template; + "nextcloud.orbekk.com" = template; }; }; } diff --git a/machines/dragon.nix b/machines/dragon.nix index 01dbaad..6b23443 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -15,6 +15,7 @@ in orbekk.monitoring-server.enable = true; orbekk.postfix.enable = true; + orbekk.nextcloud.enable = true; environment.systemPackages = with pkgs; [ ipmitool ]; programs.mosh.enable = true; diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index 39f3a75..282fb3b 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -13,7 +13,7 @@ in services.nextcloud = { enable = true; package = pkgs.nextcloud21; - hostName = "localhost"; + hostName = "nextcloud.orbekk.com"; config = { dbtype = "pgsql"; dbuser = "nextcloud"; @@ -23,6 +23,7 @@ in adminuser = "root"; }; autoUpdateApps.enable = true; + https = true; }; services.postgresql = { |