Alright that was some drafts that I don't need

This commit is contained in:
Lillian Violet 2024-01-18 12:05:44 +01:00
parent b662302a8a
commit 127dc51075

View file

@ -55,32 +55,11 @@
}; };
}; };
pkgs = [
writeShellApplication
{
name = "dvd";
runtimeInputs = [echo direnv];
text = ''
echo "use flake \"github:the-nix-way/dev-templates?dir=$1\"" >> .envrc
direnv allow
'';
}
writeShellApplication
{
name = "dvt";
runtimeInputs = [direnv nix];
text = ''
nix flake init -t "github:the-nix-way/dev-templates#$1"
direnv allow
'';
}
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Custom tools
dvd
dvt
# System tools # System tools
age age
alejandra alejandra
@ -115,9 +94,6 @@
# User tools # User tools
noisetorch noisetorch
(callPackage ../shared/scripts/dvd.nix {})
(callPackage ../shared/scripts/dvt.nix {})
]; ];
programs.direnv = { programs.direnv = {