reNixos/hand7s/programs/vscode.nix
s0me1newithhand7s e4222e5423 hand7s: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-02-08 22:53:56 +03:00

48 lines
1.2 KiB
Nix

{
config,
pkgs,
lib,
...
}: {
programs = {
vscode = {
package = pkgs.vscodium;
profiles = {
default = {
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
ms-vscode-remote.vscode-remote-extensionpack
ms-vsliveshare.vsliveshare
redhat.vscode-yaml
redhat.ansible
nefrob.vscode-just-syntax
];
userSettings = lib.mkForce {
"editor.fontFamily" = config.stylix.fonts.emoji.name;
"editor.fontSize" = 16;
"editor.cursorBlinking" = "smooth";
"editor.cursorSmoothCaretAnimation" = "on";
"editor.wordWrap" = "on";
"workbench.colorTheme" = "Tokyo Storm AltSynt";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "top";
"workbench.editor.editorActionsLocation" = "titleBar";
"workbench.editor.showTabs" = "none";
"window.menuBarVisibility" = "hidden";
"terminal.integrated.cursorBlinking" = true;
"files.autoSave" = "afterDelay";
};
};
};
};
};
}