-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathflake.nix
33 lines (32 loc) · 802 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
{
description = "A collection of project templates";
outputs = { self }: {
templates = {
nur = {
path = ./nur;
description = "Use packages available on NUR";
};
local = {
path = ./local;
description = "Use local package default.nix";
};
python = {
path = ./python;
description = "Create python 3.12 environment with libraries";
};
shell = {
path = ./shell;
description = "Use packages available on nixpkgs";
};
docker = {
path = ./docker;
description = "Build Docker images with Nix";
};
server = {
path = ./server;
description = "Manage NixOS server remotely";
};
};
defaultTemplate = self.templates.shell;
};
}