Skip to content

Usage

Add recipes.nix as an input

{
    ...
    inputs.recipes.url = "github:adtya/recipes.nix?ref=main";
    outputs = { recipes, ...}: {
        ...
    };
}

Add the package overlay

nixpkgs.overlays = [ recipes.overlays.default ];

Add the NixOS Module

nixosConfigurations.<hostname> = lib.nixosSystem {
    ...
    modules = [
       recipes.nixosModules.default
       ...
    ];
    ...
};