Move custom packages

This commit is contained in:
Oliver Davies 2025-08-25 18:35:31 +01:00
parent 386c68813a
commit 23cc6c99a0
7 changed files with 87 additions and 66 deletions

16
flake-modules/drafts.nix Normal file
View file

@ -0,0 +1,16 @@
{
perSystem =
{ pkgs, ... }:
{
packages.drafts = pkgs.writeShellApplication {
name = "drafts";
runtimeInputs = with pkgs; [ gnugrep ];
text = ''
echo "oob"
grep -r 'draft: true' "''${1:-source}"
'';
};
};
}