NixOS-Config/pkgs/dvd/default.nix

18 lines
294 B
Nix
Raw Normal View History

2024-01-17 15:25:52 +01:00
{
lib,
stdenv,
direnv,
writeShellApplication,
}:
writeShellApplication
2024-01-17 15:25:52 +01:00
{
name = "dvd";
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
echo "use flake \"git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git?dir=$1\" --no-write-lock-file" >> .envrc
2024-01-17 15:25:52 +01:00
direnv allow
'';
}