diff --git a/README.md b/README.md index c1ea40d..9435d9c 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,14 @@ Repository of lists of one-liners to use as a message-of-the-day. -This repository was a learning exercise; this is not a good example to follow of how to distribute text files with Nix. - ## flake -The defaultPackage output of this repository's flake is a derivation containing the motd files in this repository. +Package `motd` is a folder of the MOTD files in `motd/`. Each file's path is also accessible as a passthru attribute on the package. + +``` +$ nix eval --raw .#motd.rebirth +/nix/store/ikp1hxb1hrzific5wyghm2lvzv27qqxp-motd/boi-rebirth-fortunes.txt +``` ## sources