Home

infra @f6a631a91fca8be2f843189b9199e43a6f3d7fb5 - 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
21
22
{ 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.overrideAttrs (
      _: _: {
        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;
  };
}