templates: categorize by pkgs v.s. env
This commit is contained in:
parent
ba11bba909
commit
83e404f000
12
flake.nix
12
flake.nix
|
@ -282,18 +282,18 @@
|
|||
};
|
||||
|
||||
templates = {
|
||||
python-data = {
|
||||
env.python-data = {
|
||||
# initialize with:
|
||||
# - `nix flake init -t '/home/colin/dev/nixos/#python-data'`
|
||||
# - `nix flake init -t '/home/colin/dev/nixos/#env.python-data'`
|
||||
# then enter with:
|
||||
# - `nix develop`
|
||||
path = ./templates/python-data;
|
||||
path = ./templates/env/python-data;
|
||||
description = "python environment for data processing";
|
||||
};
|
||||
rust = {
|
||||
pkgs.rust-inline = {
|
||||
# initialize with:
|
||||
# - `nix flake init -t '/home/colin/dev/nixos/#rust'`
|
||||
path = ./templates/rust;
|
||||
# - `nix flake init -t '/home/colin/dev/nixos/#pkgs.rust-inline'`
|
||||
path = ./templates/pkgs/rust-inline;
|
||||
description = "rust package and development environment";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue