update: move vscodium config to json file
This commit is contained in:
parent
0f50236eb3
commit
b7344d42ac
4 changed files with 77 additions and 74 deletions
|
|
@ -1,73 +0,0 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
39
homeManagerModules/desktopPrograms/vscodium/settings.json
Normal file
39
homeManagerModules/desktopPrograms/vscodium/settings.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
37
homeManagerModules/desktopPrograms/vscodium/vscodium.nix
Normal file
37
homeManagerModules/desktopPrograms/vscodium/vscodium.nix
Normal 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);
|
||||
};
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
../../homeManagerModules/starship.nix
|
||||
../../homeManagerModules/desktopPrograms/essentials/firefox.nix
|
||||
|
||||
../../homeManagerModules/desktopPrograms/vscodium.nix
|
||||
../../homeManagerModules/desktopPrograms/vscodium/vscodium.nix
|
||||
../../homeManagerModules/desktopPrograms/amberol.nix
|
||||
|
||||
../../homeManagerModules/cliPrograms/hyfetch.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue