README update + pandoc alias

This commit is contained in:
kat witch 2021-08-30 00:50:50 +01:00
parent 0951aeb227
commit b2a87d2218
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 15 additions and 5 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./vim
./zsh.nix
./rustfmt.nix
./packages.nix
./cookiecutter.nix

View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [ hyperfine hexyl tokei nixpkgs-fmt ];
home.packages = with pkgs; [ hyperfine hexyl tokei nixpkgs-fmt pandoc ];
}

View file

@ -0,0 +1,7 @@
{ config, ... }:
{
programs.zsh.shellAliases = {
readmefmt = "pandoc -f markdown -t gfm --reference-links ./README.md --output README.md --wrap=preserve";
};
}