feat: init

This commit is contained in:
Nick 2024-10-06 15:25:05 -05:00
commit c19ea940bd
320 changed files with 23845 additions and 0 deletions

48
home-manager/modules/vscode.nix Executable file
View file

@ -0,0 +1,48 @@
{
pkgs,
lib,
...
}: {
programs = {
vscode = {
enable = true;
package = pkgs.vscode;
# keybindings = [
# {
# key = "ctrl+c";
# command = "editor.action.clipboardCopyAction";
# when = "textInputFocus";
# }
# ];
extensions = with pkgs.vscode-extensions; [
eamodio.gitlens
catppuccin.catppuccin-vsc
james-yu.latex-workshop
jnoortheen.nix-ide
kamadorueda.alejandra
mkhl.direnv
pkief.material-icon-theme
streetsidesoftware.code-spell-checker
tamasfe.even-better-toml
esbenp.prettier-vscode
mattn.lisp
haskell.haskell
];
userSettings = {
"git.confirmSync" = false;
"editor.insertSpaces" = false;
"files.autoSave" = "afterDelay";
"git.enableSmartCommit" = true;
"nix.enableLanguageServer" = true;
"nix.serverPath" = lib.getExe pkgs.nil;
"nix.formatterPath" = lib.getExe pkgs.alejandra;
"window.menuBarVisibility" = "toggle";
"workbench.iconTheme" = "material-icon-theme";
"workbench.startupEditor" = "none";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.statusBar.visible" = false;
"editor.multiCursorLimit" = 700000;
};
};
};
}