NixOS-Config/pkgs/dvt/default.nix

18 lines
224 B
Nix
Raw Normal View History

2024-01-17 15:25:52 +01:00
{
lib,
stdenv,
direnv,
writeShellApplication,
}:
writeShellApplication
2024-01-17 15:25:52 +01:00
{
name = "dvt";
2024-01-18 12:08:28 +01:00
runtimeInputs = [direnv];
2024-01-17 15:25:52 +01:00
text = ''
nix flake init -t "github:the-nix-way/dev-templates#$1"
direnv allow
'';
}