NixOS-Config/pkgs/dvt.nix

18 lines
228 B
Nix
Raw Normal View History

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