-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
30 lines (27 loc) · 736 Bytes
/
flake.nix
File metadata and controls
30 lines (27 loc) · 736 Bytes
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
{
description = "Environments tailored to your projects' needs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
# don't break library if `nixpkgs` is overridden (as it may well be!)
nixpkgs-lib.url = "github:nixos/nixpkgs/nixpkgs-unstable?dir=lib";
};
outputs =
inputs@{ ... }:
let
lib = import ./lib { inherit inputs; };
in
{
inherit (lib.conch) load;
lib = lib.conch;
templates = {
python = {
description = "Environment for Python development";
path = ./templates/python;
};
rust = {
description = "Environment for Rust development";
path = ./templates/rust;
};
};
};
}