update: move vscodium config to json file

This commit is contained in:
Veneficium 2024-09-19 18:24:39 +02:00
parent 0f50236eb3
commit b7344d42ac
4 changed files with 77 additions and 74 deletions

View file

@ -0,0 +1,39 @@
{
"update.mode": "none",
"extensions.autoCheckUpdates": false,
"workbench.iconTheme": "material-icon-theme",
"workbench.productIconTheme": "material-product-icons",
"terminal.integrated.fontFamily": "FiraCode Nerd Font",
"terminal.integrated.fontSize": 14,
"terminal.integrated.fontWeight": 500,
"editor.fontFamily": "FiraCode Nerd Font Mono",
"editor.fontLigatures": true,
"workbench.sideBar.location": "right",
"workbench.startupEditor": "welcomePageInEmptyWorkbench",
"editor.formatOnSave": true,
"C_Cpp.clang_format_fallbackStyle": "LLVM",
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": [
"nixfmt"
]
},
"options": {
"home-manager": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").homeConfigurations.fedfer.options"
},
"nixos": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").nixosConfigurations.fedfer-main-laptop-nixos.options"
}
}
}
}
}

View file

@ -0,0 +1,37 @@
{ pkgs, ... }:
{
#The VSCoderrrrrrrr
#codepilled nixmaxxer
#god I love tumblr
#tumblrpilled mememaxxer
programs.vscode = {
enable = true;
package = pkgs.vscodium;
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
mutableExtensionsDir = false;
extensions =
with pkgs.vscode-extensions;
[
ms-vscode.cpptools
ms-vscode.live-server
mhutchie.git-graph
pkief.material-icon-theme
pkief.material-product-icons
oderwat.indent-rainbow
bierner.markdown-emoji
bierner.emojisense
jnoortheen.nix-ide
rust-lang.rust-analyzer
biomejs.biome
]
++ (with pkgs.open-vsx; [
jeanp413.open-remote-ssh
antfu.unocss
]);
userSettings = builtins.fromJSON (builtins.readFile ./settings.json);
};
}