dotfiles/apps/readme.nix

12 lines
189 B
Nix
Raw Normal View History

2024-04-20 13:42:06 +00:00
{ pkgs, ... }:
{
2022-08-08 00:32:11 +00:00
type = "app";
2024-04-20 13:42:06 +00:00
program = builtins.toString (
pkgs.writeShellScript "readme" ''
${pkgs.glow}/bin/glow --pager ${builtins.toString ../README.md}
''
);
2022-08-08 00:32:11 +00:00
}