mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: added hyprland, zed, and firefox settings
This commit is contained in:
parent
f642608281
commit
9526cf7ca4
21 changed files with 35 additions and 1 deletions
17
home/modules/gui/apps/code/vsCode/config/extensions.nix
Executable file
17
home/modules/gui/apps/code/vsCode/config/extensions.nix
Executable file
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
with pkgs.vscode-extensions;
|
||||
[
|
||||
catppuccin.catppuccin-vsc
|
||||
eamodio.gitlens
|
||||
elmtooling.elm-ls-vscode
|
||||
esbenp.prettier-vscode
|
||||
haskell.haskell
|
||||
james-yu.latex-workshop
|
||||
# jnoortheen.nix-ide
|
||||
mattn.lisp
|
||||
mkhl.direnv
|
||||
pkief.material-icon-theme
|
||||
streetsidesoftware.code-spell-checker
|
||||
tamasfe.even-better-toml
|
||||
brettm12345.nixfmt-vscode
|
||||
]
|
27
home/modules/gui/apps/code/vsCode/config/keybindings.nix
Executable file
27
home/modules/gui/apps/code/vsCode/config/keybindings.nix
Executable file
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
{
|
||||
key = "ctrl+shift+s";
|
||||
command = "editor.action.insertCursorAtEndOfEachLineSelected";
|
||||
when = "textInputFocus";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+a";
|
||||
command = "editor.action.quickFix";
|
||||
when = "editorHasCodeActionsProvider && textInputFocus && !editorReadonly";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+f";
|
||||
command = "editor.action.formatDocument";
|
||||
when = "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+tab";
|
||||
command = "editor.action.indentationToSpaces";
|
||||
when = "textInputFocus";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+d";
|
||||
command = "editor.action.deleteLines";
|
||||
when = "textInputFocus";
|
||||
}
|
||||
]
|
34
home/modules/gui/apps/code/vsCode/config/userSettings.nix
Executable file
34
home/modules/gui/apps/code/vsCode/config/userSettings.nix
Executable file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
flake,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
font
|
||||
;
|
||||
in
|
||||
{
|
||||
"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.haskellPackages.nixfmt;
|
||||
"window.menuBarVisibility" = "toggle";
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
"workbench.startupEditor" = "none";
|
||||
"workbench.colorTheme" = "Catppuccin Macchiato";
|
||||
"workbench.statusBar.visible" = false;
|
||||
"editor.multiCursorLimit" = 700000;
|
||||
"elmLS.disableElmLSDiagnostics" = true;
|
||||
"elmLS.elmReviewDiagnostics" = "warning";
|
||||
"editor.wordWrap" = "on";
|
||||
"editor.fontSize" = font.size.applications;
|
||||
"editor.fontFamily" = "'${font.name}', 'monospace', monospace";
|
||||
"terminal.integrated.fontSize" = font.size.applications;
|
||||
"terminal.integrated.fontFamily" = "'${font.name}', 'monospace', monospace";
|
||||
"editor.fontLigatures" = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue