From 08362e8c88f251bd1ef1b0d4d43a3bb417cc084c Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 28 May 2025 21:52:18 +0300 Subject: [PATCH 1/2] helix(rust): disable inactive-code and unlinked-file diagnostics --- modules/common/helix.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/common/helix.nix b/modules/common/helix.nix index edc08eb..da8c75a 100644 --- a/modules/common/helix.nix +++ b/modules/common/helix.nix @@ -147,6 +147,7 @@ in { check.command = "clippy"; completion.callable.snippets = "add_parentheses"; completion.excludeTraits = [ "yansi::Paint" ]; + diagnostics.disabled = [ "inactive-code" "unlinked-file" ]; }; }; From 436297a17cadd477d9112b8ec6b09751707eda2e Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 28 May 2025 22:49:16 +0300 Subject: [PATCH 2/2] tree: delete, replace with eza --- modules/common/nushell/default.nix | 2 +- modules/common/packages.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/common/nushell/default.nix b/modules/common/nushell/default.nix index d6a3287..d5293ec 100644 --- a/modules/common/nushell/default.nix +++ b/modules/common/nushell/default.nix @@ -17,7 +17,7 @@ in { rm = "rm --recursive --verbose"; pstree = "pstree -g 2"; - tree = "tree -F --dirsfirst"; + tree = "eza --tree --git-ignore --group-directories-first"; }; systemPackages = attrValues { diff --git a/modules/common/packages.nix b/modules/common/packages.nix index 5c24f0c..d1920a9 100644 --- a/modules/common/packages.nix +++ b/modules/common/packages.nix @@ -8,6 +8,7 @@ in { curlHTTP3 dig doggo + eza fastfetch fd hyperfine @@ -18,7 +19,6 @@ in { rsync timg tokei - tree typos uutils-coreutils-noprefix yazi