aboutsummaryrefslogtreecommitdiffstats
path: root/home/vale.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-04 18:05:00 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-04 20:39:41 +0200
commit4d7fbc33a139d6484ae86c45b570b2c99fc737ef (patch)
tree46c5788b8ed0eaf6f6581b3b7a87d633d842a8dd /home/vale.nix
parent7ab57a27c9648b3a8e12f755e03fc84eb50291b4 (diff)
downloadnixos-4d7fbc33a139d6484ae86c45b570b2c99fc737ef.tar.zst
Test
Diffstat (limited to 'home/vale.nix')
-rw-r--r--home/vale.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/home/vale.nix b/home/vale.nix
new file mode 100644
index 0000000..79712ea
--- /dev/null
+++ b/home/vale.nix
@@ -0,0 +1,31 @@
+{ inputs, pkgs, ... }:
+{
+
+ xdg.configFile."/home/petri/.config/vale/.vale.ini".text = ''
+ MinAlertLevel = suggestion
+ StylesPath = ${pkgs.valeStyles.microsoft}/share/vale/styles
+ Packages = Microsoft
+ # Vocab = myterms does not work because expects styles to be in the same folder
+
+ [asciidoctor]
+ experimental = YES
+ attribute-missing = drop
+
+ [*.adoc]
+ BasedOnStyles = Vale, Microsoft
+
+ [*.{md,rst}]
+ BasedOnStyles = Vale, Microsoft
+ '';
+
+ xdg.configFile."/home/petri/.config/vale/config/vocabularies/myterms/accept.txt".text = ''
+ Relesoft
+ ERTMS
+ ETCS
+ YAML
+ TOML
+ FTIA
+ GRK
+ EULYNX
+ '';
+}