forked from hercules-ci/flake-parts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
37 lines (34 loc) · 932 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
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; };
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.
'';
};
unfree = {
path = ./template/unfree;
description = ''
A minimal flake using flake-parts importing nixpkgs with the unfree option.
'';
};
};
flakeModules = {
easyOverlay = ./extras/easyOverlay.nix;
flakeModules = ./extras/flakeModules.nix;
nixpkgs = ./extras/nixpkgs.nix;
};
};
}