Home

infra @b5897af7a09b303f2f83212aa34faf09eb6093a4 - refs - log -
-
https://git.jolheiser.com/infra.git
dragonwell flake
infra / dragonwell / mealie.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
{ pkgs, config, ... }:
{
  age.secrets.mealie.file = ../secrets/mealie.age;
  services.mealie = {
    enable = true;
    # TODO remove this hack once mealie tests work again
    package = pkgs.mealie.override {
      doCheck = false;
      checkPhase = ''echo "Skipping tests for mealie"'';
      installCheckPhase = ''echo "Skipping install tests for mealie"'';
    };
    listenAddress = "localhost";
    port = 3663;
    settings = {
      BASE_URL = "https://recipes.jolheiser.com";
      ALLOW_PASSWORD_LOGIN = "false";
    };
    credentialsFile = config.age.secrets.mealie.path;
  };
}