feat: add vale ini and reorganize dotfiles

This commit is contained in:
Youwen Wu 2025-01-25 15:18:33 -08:00
parent a91aa4c762
commit 41e08ab187
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
6 changed files with 74 additions and 1 deletions

View file

@ -65,6 +65,24 @@
addKeysToAgent = "yes";
};
xdg.configFile."vale" = {
source = ./config/vale;
recursive = true;
};
home.file.".local/share/vale/styles/proselint" = {
source = "${
pkgs.fetchFromGitHub {
owner = "errata-ai";
repo = "proselint";
rev = "v0.3.4";
hash = "sha256-iujKf+xc/RDqw4eC/nzpMsHWvwey6U5sjD2yHSiQxP4=";
sparseCheckout = [ "proselint" ];
}
}/proselint";
recursive = true;
};
# text/html; ~/.mutt/view_attachment.sh %s html; test=test -n "$DISPLAY"
home.file.".mailcap".text = ''
text/html; ${pkgs.w3m}/bin/w3m %s; nametemplate=%s.html; needsterminal