Update README
This commit is contained in:
parent
e16e492695
commit
9e621aea66
@ -2,11 +2,14 @@
|
|||||||
|
|
||||||
Repository of lists of one-liners to use as a message-of-the-day.
|
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
|
## 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
|
## sources
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user