From 914077ae5092972d734170d611206f1f1b0bf92a Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 22 Nov 2023 21:01:10 +0100 Subject: [PATCH] We don't need a port if we use the local mysql --- nixos/queen/nextcloud.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/queen/nextcloud.nix b/nixos/queen/nextcloud.nix index 36b72c7..04399af 100644 --- a/nixos/queen/nextcloud.nix +++ b/nixos/queen/nextcloud.nix @@ -55,9 +55,8 @@ # Nextcloud PostegreSQL database configuration, recommended over using SQLite dbtype = "mysql"; dbuser = "nextcloud"; - dbhost = "/run/mysql"; + dbhost = "mysql"; dbname = "NC"; - dbport = 3306; dbpassFile = config.sops.secrets."nextclouddb".path; #TODO: work with sops to set this instead of a file & make sure the db setup is the same as on the previous server for easy migration