Mealie-Nix

This flake outputs a Nix package and NixOS module for Mealie Nightly

Usage

Add an input to your flake:

{
  inputs = {
    mealie = {
      url = "github:nathanregner/mealie-nix";
      # leave commented to utilize the binary cache
      # inputs.nixpkgs.follows = "nixpkgs";
    };
  };
}

Enable the service in your nixosConfiguration:

{ inputs, ... }:
{
  imports = [ inputs.mealie.nixosModules.default ];

  services.mealie-nightly.enable = true;
}

Optionally, enable use of the publicly available Cachix binary cache:

{ ... }:
{
  nix = {
    settings = {
      substituters = [ "https://nathanregner-mealie-nix.cachix.org" ];

      trusted-public-keys = [
        "nathanregner-mealie-nix.cachix.org-1:Ir3Z9UXjCcKwULpHZ8BveGbg7Az7edKLs4RPlrM1USM="
      ];
    };
  };
}