NixOS-Config/pkgs/dvt/default.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
'';
}