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