gnome, vscode + equibop configs changed

This commit is contained in:
greyweather committed 2026-07-08 00:06:11 +01:00
1 parent fb8ba9de0a
commit b0174f3f83
5 files changed
+221 -3

No files matched your search

+53 -2
View File
@@ -5,10 +5,19 @@
}: {
programs.vscode = {
enable = true;
profiles.default = {
extensions = with pkgs.vscode-extensions; [
package = pkgs.vscode-with-extensions.override {
vscodeExtensions = with pkgs.vscode-extensions; [
bbenoist.nix
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "patternstore";
publisher = "jdunkel";
version = "0.1.12";
sha256 = "sha256-JtVtBFZPsSMDC9040UE8gTg4YmNLVFQJz0NGa0+QBqA=";
}
];
};
profiles.default = {
enableUpdateCheck = false;
userSettings = {
"[nix]" = {
@@ -16,6 +25,48 @@
};
"chat.disableAIFeatures" = true;
"workbench.welcomePage.walkthroughs.openOnInstall" = false;
"patternStore.savedPatterns" = [
{
label = "convert JSON pairs to Nix format";
find = "\"(\\w+)\": ([\\w, \\{\\}]+?),?$";
replace = "$1 = $2;";
flags = {
"isRegex" = true;
"isCaseSensitive" = false;
"matchWholeWord" = false;
"isMultiline" = false;
};
scope = "global";
}
{
label = "convert JSON opening bracket to Nix format";
find = "(\"\\w+\"): \\{$";
replace = "$1 = {";
flags = {
"isRegex" = true;
"isCaseSensitive" = false;
"matchWholeWord" = false;
"isMultiline" = false;
};
scope = "global";
}
{
label = "convert JSON closing bracket to Nix format";
find = "\\},?$";
replace = "};";
flags = {
"isRegex" = true;
"isCaseSensitive" = false;
"matchWholeWord" = false;
"isMultiline" = false;
};
scope = "global";
}
];
"search.exclude" = {
"**/flake.lock" = true;
"**/assets/**" = true;
};
};
};
};