From 639303c2bfbad916108c2dce652e644d18868d05 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 5 Jul 2024 18:06:58 +0200 Subject: [PATCH] services: mealie: switch to unstable --- services/mealie.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/services/mealie.nix b/services/mealie.nix index 7ceebe0..c7ac736 100644 --- a/services/mealie.nix +++ b/services/mealie.nix @@ -32,6 +32,7 @@ in { config = mkIf cfg.enable { services.mealie = { enable = true; + package = pkgs.unstable.mealie; listenAddress = "127.0.0.1"; port = cfg.port; @@ -44,15 +45,15 @@ in { DB_ENGINE = "postgres"; # Settings for Mealie 1.2 - POSTGRES_USER = "mealie"; - POSTGRES_PASSWORD = ""; - POSTGRES_SERVER = "/run/postgresql"; - # Pydantic and/or mealie doesn't handle the URI correctly, hijack it - # with query parameters... - POSTGRES_DB = "mealie?host=/run/postgresql&dbname=mealie"; + #POSTGRES_USER = "mealie"; + #POSTGRES_PASSWORD = ""; + #POSTGRES_SERVER = "/run/postgresql"; + ## Pydantic and/or mealie doesn't handle the URI correctly, hijack it + ## with query parameters... + #POSTGRES_DB = "mealie?host=/run/postgresql&dbname=mealie"; # Settings for Mealie 1.7+, when that gets into NixOS stable - # POSTGRES_URL_OVERRIDE = "postgresql://mealie:@/mealie?host=/run/postgresql"; + POSTGRES_URL_OVERRIDE = "postgresql://mealie:@/mealie?host=/run/postgresql"; }; };