-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
31 lines (30 loc) · 906 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
{
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
# default = Darwin+Linux+x86+ARM, or default-linux, default-darwin, etc.
# see https://github.com/nix-systems/
systems.url = "github:nix-systems/default";
};
outputs = inputs@{ flake-parts, systems, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = (import systems);
perSystem = { config, self', inputs', pkgs, system, ... }: {};
flake = {
templates = {
default = {
path = ./default;
description = ''
base template, all systems, all attributes defined but empty
'';
};
dev-shell = {
path = ./dev-shell;
description = ''
defines a devShell for use with `nix develop` or `nix-shell`
(through a compatibility shim in `shell.nix`)
'';
};
};
};
};
}