2021-10-27 09:05:52 +00:00
|
|
|
{
|
|
|
|
description = "Flake basics described using the module system";
|
|
|
|
|
|
|
|
inputs = {
|
2022-10-11 17:42:23 +00:00
|
|
|
nixpkgs-lib.url = "github:NixOS/nixpkgs/nixos-unstable?dir=lib";
|
2021-10-27 09:05:52 +00:00
|
|
|
};
|
|
|
|
|
2023-05-29 17:52:03 +00:00
|
|
|
outputs = { nixpkgs-lib, ... }: {
|
2022-10-11 17:42:23 +00:00
|
|
|
lib = import ./lib.nix { inherit (nixpkgs-lib) lib; };
|
2022-05-11 21:05:53 +00:00
|
|
|
templates = {
|
|
|
|
default = {
|
|
|
|
path = ./template/default;
|
|
|
|
description = ''
|
2022-05-25 14:36:33 +00:00
|
|
|
A minimal flake using flake-parts.
|
2022-05-11 21:05:53 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
multi-module = {
|
|
|
|
path = ./template/multi-module;
|
|
|
|
description = ''
|
2022-05-25 14:36:33 +00:00
|
|
|
A minimal flake using flake-parts.
|
2022-05-11 21:05:53 +00:00
|
|
|
'';
|
|
|
|
};
|
2023-03-25 06:38:31 +00:00
|
|
|
unfree = {
|
|
|
|
path = ./template/unfree;
|
|
|
|
description = ''
|
|
|
|
A minimal flake using flake-parts importing nixpkgs with the unfree option.
|
|
|
|
'';
|
|
|
|
};
|
2021-11-21 14:28:25 +00:00
|
|
|
};
|
2022-12-01 16:40:48 +00:00
|
|
|
flakeModules = {
|
|
|
|
easyOverlay = ./extras/easyOverlay.nix;
|
2023-01-26 19:40:11 +00:00
|
|
|
flakeModules = ./extras/flakeModules.nix;
|
2022-12-01 16:40:48 +00:00
|
|
|
};
|
2021-10-27 09:05:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|