mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:16:10 +01:00
BREAKING-CHANGE: changed nixpkgs to stable 24.11 + structure change + fmt
This commit is contained in:
74
home-manager/programs/vscodium.nix
Normal file
74
home-manager/programs/vscodium.nix
Normal file
@@ -0,0 +1,74 @@
|
||||
{pkgs, ...}: {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscode.fhsWithPackages (
|
||||
ps:
|
||||
with ps; [
|
||||
rustup
|
||||
zlib
|
||||
openssl.dev
|
||||
pkg-config
|
||||
# nixfmt-rfc-style
|
||||
python3
|
||||
]
|
||||
);
|
||||
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
ms-python.python
|
||||
ms-python.debugpy
|
||||
jnoortheen.nix-ide
|
||||
mkhl.direnv
|
||||
arrterian.nix-env-selector
|
||||
mvllow.rose-pine
|
||||
github.copilot
|
||||
# github.copilot-chat
|
||||
ms-vsliveshare.vsliveshare
|
||||
rust-lang.rust-analyzer
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
"editor.fontSize" = 16;
|
||||
"editor.fontFamily" = "FiraCode Nerd Font";
|
||||
"explorer.confirmDelete" = false;
|
||||
"disable-hardware-acceleration" = true;
|
||||
"explorer.confirmDragAndDrop" = true;
|
||||
"git.openRepositoryInParentFolders" = "never";
|
||||
|
||||
"[python]" = {
|
||||
"editor.defaultFormatter" = "ms-python.black-formatter";
|
||||
"editor.formatOnSave" = true;
|
||||
};
|
||||
|
||||
"nix.enableLanguageServer" = true;
|
||||
"nix.serverPath" = "${pkgs.nixd}/bin/nixd";
|
||||
"nix.serverSettings" = {
|
||||
"nixd" = {
|
||||
"formatting" = {
|
||||
"command" = ["${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt"];
|
||||
};
|
||||
"nixpkgs" = {
|
||||
"expr" = "import <nixpkgs> { }";
|
||||
"options" = {
|
||||
"nixos" = {
|
||||
"expr" = ''(builtins.getFlake "/home/mike/.files").nixosConfigurations.zion.options'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
"editor.formatOnSave" = true;
|
||||
|
||||
"editor.fontLigatures" = true;
|
||||
"editor.formatOnPaste" = true;
|
||||
"editor.minimap.enabled" = false;
|
||||
|
||||
# "symbols.hidesExplorerArrows" = false;
|
||||
|
||||
"workbench.iconTheme" = "rose-pine-icons";
|
||||
"workbench.colorTheme" = "Rosé Pine";
|
||||
"workbench.preferredDarkColorTheme" = "Rosé Pine";
|
||||
"workbench.preferredHighContrastColorTheme" = "Rosé Pine";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user