NixOS-Config/pkgs/dvt/default.nix

18 lines
258 B
Nix

{
lib,
stdenv,
direnv,
writeShellApplication,
}:
writeShellApplication
{
name = "dvt";
runtimeInputs = [direnv];
text = ''
nix flake init -t "git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git#$1"
direnv allow
'';
}