From b8b0403f5232bf97b0c4abc4f3a1fe7a58db1be6 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 2 Jul 2024 22:33:05 +0200 Subject: better way to enable apps --- common.nix | 4 ---- home.nix | 22 +++++++++++++++++----- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/common.nix b/common.nix index 88582f5..c8bcbd7 100644 --- a/common.nix +++ b/common.nix @@ -286,7 +286,6 @@ in pkgs.kdePackages.ark aspellDicts.de aspellDicts.en - bat bitwise borgbackup btop @@ -299,9 +298,7 @@ in duf efibootmgr emacs - eza f2 - fd fdupes ffmpeg file @@ -331,7 +328,6 @@ in libjxl libreoffice libva-utils - lsd lsof mc micro diff --git a/home.nix b/home.nix index 1551346..686ca46 100644 --- a/home.nix +++ b/home.nix @@ -39,11 +39,6 @@ verify = "sudo nix --extra-experimental-features nix-command store verify --all"; optimize = "sudo nix --extra-experimental-features nix-command store optimise"; - # overwrite some tools - cat = "bat"; - ls = "lsd"; - la = "lsd -ahl"; - # ssh around in the local network mac = "ssh mac.fritz.box"; macroot = "ssh root@mac.fritz.box"; @@ -85,6 +80,7 @@ # nice cd programs.zoxide = { enable = true; + enableZshIntegration = true; options = [ "--cmd" "cd" ]; }; @@ -93,6 +89,22 @@ enable = true; }; + # better ls, adds la and Co. aliases, too + programs.eza = { + enable = true; + enableZshIntegration = true; + }; + + # better cat + programs.bat = { + enable = true; + }; + + # better find + programs.fd = { + enable = true; + }; + # enable keychain, we use the main user key programs.keychain = { enable = true; -- cgit v1.2.3