feat: added hyprland, zed, and firefox settings

This commit is contained in:
Nick 2025-01-22 23:47:24 -06:00
parent f642608281
commit 9526cf7ca4
21 changed files with 35 additions and 1 deletions

View 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
]

View 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";
}
]

View 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;
}