Did that not commit everything? Weird

This commit is contained in:
Lillian Violet 2024-01-18 11:59:33 +01:00
parent a104c3068f
commit e376176dc3
3 changed files with 23 additions and 0 deletions

17
pkgs/dvd.nix Normal file
View file

@ -0,0 +1,17 @@
{
lib,
stdenv,
direnv,
writeShellApplication,
}:
writeShellApplication
{
name = "dvd";
runtimeInputs = [echo direnv];
text = ''
echo "use flake \"github:the-nix-way/dev-templates?dir=$1\"" >> .envrc
direnv allow
'';
}

17
pkgs/dvt.nix Normal file
View file

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