18 lines
224 B
Nix
18 lines
224 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
direnv,
|
|
writeShellApplication,
|
|
}:
|
|
writeShellApplication
|
|
{
|
|
name = "dvt";
|
|
|
|
runtimeInputs = [direnv];
|
|
|
|
text = ''
|
|
nix flake init -t "github:the-nix-way/dev-templates#$1"
|
|
direnv allow
|
|
'';
|
|
}
|