This commit is contained in:
Erwin Boskma 2022-05-28 17:08:20 +02:00
parent ee618c1846
commit c82df269e2
Signed by: erwin
GPG key ID: 270B20D17394F7E5
2 changed files with 26 additions and 0 deletions

View file

@ -1 +1,4 @@
# Erwin's NixOS config # Erwin's NixOS config
This configures my machines.

View file

@ -19,6 +19,15 @@ with lib; let
mimeTypes = [ "x-scheme-handler/org-protocol" ]; mimeTypes = [ "x-scheme-handler/org-protocol" ];
startupWMClass = "Emacs"; startupWMClass = "Emacs";
}; };
valeToINI = generators.toINIWithGlobalSection {
mkKeyValue = generators.mkKeyValueDefault
{
mkValueString = v:
if builtins.isList v then builtins.concatStringsSep ", " v
else generators.mkValueStringDefault { } v;
} " = ";
};
in in
{ {
options.eboskma.programs.emacs = { options.eboskma.programs.emacs = {
@ -50,6 +59,20 @@ in
}) })
orgProtocolDesktop orgProtocolDesktop
nodePackages.bash-language-server nodePackages.bash-language-server
vale
vale.data
]; ];
home.file.".vale.ini".text = valeToINI {
globalSection = {
StylesPath = "${pkgs.vale.data}/share/vale/styles";
MinAlertLevel = "suggestion";
};
sections = {
"*" = {
BasedOnStyles = [ "vale" "proselint" "write-good" ];
};
};
};
}; };
} }