feat: move self-defined packages to own files

This commit is contained in:
Swarsel 2024-07-29 09:10:04 +02:00
parent 2390199b8a
commit db231d4b83
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 191 additions and 106 deletions

8
pkgs/bak/default.nix Normal file
View file

@ -0,0 +1,8 @@
{ writeShellApplication }:
writeShellApplication {
name = "bak";
text = ''
cp "$1"{,.bak}
'';
}