sys-config/homeManagerModules/desktopPrograms/vscodium.nix
2024-09-19 17:04:35 +02:00

73 lines
2.2 KiB
Nix

{ 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 = {
"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;
"editor.formatOnSave" = true;
"workbench.sideBar.location" = "right";
"workbench.startupEditor" = "welcomePageInEmptyWorkbench";
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nixd";
"nix.serverSettings" = {
"nixd" = {
"formatting" = {
"command" = [ "nixfmt" ];
};
"options" = {
#// By default, this entriy will be read from `import <nixpkgs> { }`
#// You can write arbitary nix expression here, to produce valid "options" declaration result.
#// Tip: for flake-based configuration, utilize `builtins.getFlake`
"nixos" = {
"expr" = "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").nixosConfigurations.fedfer-main-laptop-nixos.options";
};
"home-manager" = {
"expr" = "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").homeConfigurations.fedfer.options";
};
};
};
};
"C_Cpp.clang_format_fallbackStyle" = "LLVM";
};
};
}