45 lines
1.5 KiB
Nix
45 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs = {
|
|
vscode = {
|
|
profiles = {
|
|
default = {
|
|
extensions = with pkgs.vscode-extensions; [
|
|
jnoortheen.nix-ide
|
|
ms-vscode-remote.vscode-remote-extensionpack
|
|
ms-vsliveshare.vsliveshare
|
|
redhat.vscode-yaml
|
|
redhat.ansible
|
|
];
|
|
|
|
userSettings = lib.mkForce {
|
|
"editor.fontFamily" = "'Hack Nerd Font'";
|
|
"editor.fontSize" = 16;
|
|
|
|
"editor.cursorBlinking" = "smooth";
|
|
"editor.cursorSmoothCaretAnimation" = "on";
|
|
"editor.wordWrap" = "on";
|
|
|
|
"workbench.colorTheme" = "Blazing Red";
|
|
"workbench.sideBar.location" = "right";
|
|
"workbench.activityBar.location" = "top";
|
|
"workbench.editor.editorActionsLocation" = "titleBar";
|
|
"workbench.editor.showTabs" = "none";
|
|
|
|
"window.menuBarVisibility" = "hidden";
|
|
|
|
"files.autoSave" = "afterDelay";
|
|
|
|
"[nix]" = {
|
|
"editor.insertSpaces" = true;
|
|
"editor.tabSize" = 4;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|