recipes/flake.nix
2021-11-24 22:14:21 -05:00

23 lines
558 B
Nix

{
description = "My recipe collection";
inputs.nixpkgs = {
type = "indirect";
id = "nixpkgs";
};
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = {self, nixpkgs, flake-utils}:
let
kitchenGen = import ./kitchen.nix;
in
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; }; in
{
defaultPackage = (kitchenGen {
nixpkgs = pkgs;
});
}
);
}