NixOS-Config/pkgs/dvd/default.nix

18 lines
273 B
Nix

{
lib,
stdenv,
direnv,
writeShellApplication,
}:
writeShellApplication
{
name = "dvd";
runtimeInputs = [direnv];
text = ''
echo "use flake \"git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git?dir=$1\"" >> .envrc
direnv allow
'';
}