vale
This commit is contained in:
20
home-modules/vale.nix
Normal file
20
home-modules/vale.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user