mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
30 lines
723 B
Nix
30 lines
723 B
Nix
{
|
|
description = "Flake basics described using the module system";
|
|
|
|
inputs = {
|
|
nixpkgs-lib.url = "github:NixOS/nixpkgs/nixos-unstable?dir=lib";
|
|
};
|
|
|
|
outputs = { self, nixpkgs-lib, ... }: {
|
|
lib = import ./lib.nix { inherit (nixpkgs-lib) lib; };
|
|
flakeModules.flakeModules = ./modules/flakeModules.nix;
|
|
templates = {
|
|
default = {
|
|
path = ./template/default;
|
|
description = ''
|
|
A minimal flake using flake-parts.
|
|
'';
|
|
};
|
|
multi-module = {
|
|
path = ./template/multi-module;
|
|
description = ''
|
|
A minimal flake using flake-parts.
|
|
'';
|
|
};
|
|
};
|
|
flakeModules = {
|
|
easyOverlay = ./extras/easyOverlay.nix;
|
|
};
|
|
};
|
|
|
|
}
|