This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-29 21:58:46 +02:00
parent 9cb5a17bc1
commit 58e6dc97f4
2 changed files with 21 additions and 0 deletions

20
home-modules/vale.nix Normal file
View File

@@ -0,0 +1,20 @@
{ pkgs, lib, user, ... }:
let
vws = pkgs.vale.withStyles (s: [ s.alex s.google ]);
in
lib.mkIf (user != "tv")
{
home = {
packages = [
vws
];
file.".config/vale/.vale.ini".text = ''
StylesPath = ${vws}/share/vale/styles/
MinAlertLevel = suggestion
[*]
BasedOnStyles = alex, Google
'';
};
}