forked from jan-leila/nix-config
updated user words
This commit is contained in:
parent
3131d264d3
commit
dfcd16fdd2
1 changed files with 120 additions and 63 deletions
|
@ -1,13 +1,42 @@
|
||||||
{...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
config.programs.vscode.profiles.default.userSettings = {
|
config.programs.vscode.profiles.default.userSettings = {
|
||||||
"cSpell.userWords" = [
|
"cSpell.userWords" = [
|
||||||
"leyla"
|
"leyla"
|
||||||
|
];
|
||||||
|
|
||||||
|
"cSpell.languageSettings" = [
|
||||||
|
{
|
||||||
|
"languageId" = "nix";
|
||||||
|
"locale" = "*";
|
||||||
|
"dictionaries" = [
|
||||||
|
"applications"
|
||||||
|
"ai-words"
|
||||||
|
"nix-words"
|
||||||
|
|
||||||
|
# We need to include all other dictionaries in the nix language settings because they exist in this file
|
||||||
|
# TODO: see if there is a way to make this only apply for this file
|
||||||
|
"js-words"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"languageId" = "javascript,typescript,js,ts";
|
||||||
|
"locale" = "*";
|
||||||
|
"dictionaries" = [
|
||||||
|
"js-words"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
"cSpell.customDictionaries" = {
|
||||||
|
applications = {
|
||||||
|
name = "applications";
|
||||||
|
description = "application names";
|
||||||
|
path = pkgs.writeText "applications.txt" (lib.strings.concatLines [
|
||||||
"ollama"
|
"ollama"
|
||||||
"webdav"
|
|
||||||
"pname"
|
|
||||||
"direnv"
|
|
||||||
"deepseek"
|
|
||||||
"qwen"
|
|
||||||
"syncthing"
|
"syncthing"
|
||||||
"immich"
|
"immich"
|
||||||
"sonos"
|
"sonos"
|
||||||
|
@ -15,13 +44,32 @@
|
||||||
"hass"
|
"hass"
|
||||||
"qbittorent"
|
"qbittorent"
|
||||||
"prostudiomasters"
|
"prostudiomasters"
|
||||||
|
"protonmail"
|
||||||
|
"pulseaudio"
|
||||||
|
]);
|
||||||
|
};
|
||||||
|
|
||||||
|
ai-words = {
|
||||||
|
name = "ai-words";
|
||||||
|
description = "common words used for ai development";
|
||||||
|
path = pkgs.writeText "ai-words.txt" (lib.strings.concatLines [
|
||||||
|
"ollama"
|
||||||
|
"deepseek"
|
||||||
|
"qwen"
|
||||||
|
]);
|
||||||
|
};
|
||||||
|
|
||||||
|
nix-words = {
|
||||||
|
name = "nix-words";
|
||||||
|
description = "words used in nix configurations";
|
||||||
|
path = pkgs.writeText "nix-words.txt" (lib.strings.concatLines [
|
||||||
|
"pname"
|
||||||
|
"direnv"
|
||||||
"tmpfiles"
|
"tmpfiles"
|
||||||
"networkmanager"
|
|
||||||
"Networkd"
|
"Networkd"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"dialout"
|
"dialout"
|
||||||
"adbusers"
|
"adbusers"
|
||||||
"protonmail"
|
|
||||||
"authkey"
|
"authkey"
|
||||||
"netdevs"
|
"netdevs"
|
||||||
"atomix"
|
"atomix"
|
||||||
|
@ -32,7 +80,6 @@
|
||||||
"alsa"
|
"alsa"
|
||||||
"timezoned"
|
"timezoned"
|
||||||
"pipewire"
|
"pipewire"
|
||||||
"pulseaudio"
|
|
||||||
"rtkit"
|
"rtkit"
|
||||||
"disko"
|
"disko"
|
||||||
"ashift"
|
"ashift"
|
||||||
|
@ -64,6 +111,16 @@
|
||||||
|
|
||||||
# nix.optimise is spelled wrong
|
# nix.optimise is spelled wrong
|
||||||
"optimise"
|
"optimise"
|
||||||
];
|
]);
|
||||||
|
};
|
||||||
|
|
||||||
|
js-words = {
|
||||||
|
name = "js-words";
|
||||||
|
description = "words used in js development";
|
||||||
|
path = pkgs.writeText "js-words.txt" (lib.strings.concatLines [
|
||||||
|
"webdav"
|
||||||
|
]);
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue