NixOS-Config/pkgs/dvt/default.nix

16 lines
241 B
Nix
Raw Permalink Normal View History

2024-01-17 15:25:52 +01:00
{
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 = ''
2024-01-18 14:29:28 +01:00
nix flake init -t "git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git#$1"
2024-01-17 15:25:52 +01:00
direnv allow
'';
}