From 8426d1b07b3d8db7a764f9a7dcba86b8dd6fe18a Mon Sep 17 00:00:00 2001 From: notgne2 Date: Thu, 16 Oct 2025 02:38:32 -0700 Subject: [PATCH] add zed stuff and remove librewolf chroma --- home-manager/common.nix | 3 +++ home-manager/modules/ezpcusr.nix | 6 ------ home-manager/users/notgne2.nix | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 6 deletions(-) diff --git a/home-manager/common.nix b/home-manager/common.nix index 9b3f47e..45ebdb9 100644 --- a/home-manager/common.nix +++ b/home-manager/common.nix @@ -83,6 +83,9 @@ inputs: all: { programs.fish = { enable = true; + interactiveShellInit = '' + bind alt-backspace backward-kill-word + ''; }; programs.librewolf = { diff --git a/home-manager/modules/ezpcusr.nix b/home-manager/modules/ezpcusr.nix index 4873f7b..48a8832 100644 --- a/home-manager/modules/ezpcusr.nix +++ b/home-manager/modules/ezpcusr.nix @@ -96,10 +96,6 @@ in { })) ]; settings = { - # "darkwindow:shader[black]" = { - # from = "chromakey"; - # args = "bkg=[0.0 0.0 0.0] similarity=0.0 amount=0.0 targetOpacity=0.0"; - # }; "plugin:dynamic-cursors" = { mode = "rotate"; shake.enabled = false; @@ -143,8 +139,6 @@ in { "pin,class:(flameshot),title:(flameshot)" "fullscreenstate,class:(flameshot),title:(flameshot)" "float,class:(flameshot),title:(flameshot)" - - "plugin:shadewindow chromakey bkg=[0 0 0] similarity=0.02 amount=1 targetOpacity=0.8, class:librewolf" ]; bind = [ diff --git a/home-manager/users/notgne2.nix b/home-manager/users/notgne2.nix index 9fa844c..0c2369e 100644 --- a/home-manager/users/notgne2.nix +++ b/home-manager/users/notgne2.nix @@ -19,6 +19,32 @@ in { alejandra ]; + programs.zed-editor = { + extensions = [ + "elm" + "nix" + ]; + userSettings = { + vim_mode = true; + node = { + path = lib.getExe pkgs.nodejs; + npm_path = lib.getExe' pkgs.nodejs "npm"; + }; + lsp = { + elm-language-server.initialization_options = { + "elmReviewDiagnostics" = "warning"; + + # "elmPath" = "${pkgs.elmPackages.elm}/bin/elm"; + # "elmReviewPath" = "${pkgs.elmPackages.elm-review}/bin/elm-review"; + # "elmFormatPath" = "${pkgs.elmPackages.elm-format}/bin/elm-format"; + "elmPath" = "elm"; + "elmReviewPath" = "elm-review"; + "elmFormatPath" = "elm-format"; + }; + }; + }; + }; + programs.vscode = { package = pkgs.vscodium; userSettings = {