1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00
flake-parts/flake.nix
2022-05-11 23:05:53 +02:00

26 lines
583 B
Nix

{
description = "Flake basics described using the module system";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }: {
lib = import ./lib.nix { inherit (nixpkgs) lib; };
templates = {
default = {
path = ./template/default;
description = ''
A minimal flake using flake-modules-core.
'';
};
multi-module = {
path = ./template/multi-module;
description = ''
A minimal flake using flake-modules-core.
'';
};
};
};
}