From a61001ad8696f6d9a5ebe0f18a71d747941ec9d0 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Tue, 21 Jul 2026 22:22:32 +0530 Subject: feat: add private email and git modules modules/private: add email and git personal configuration modules/lf: remove busybox dependency, use config shell modules/scripts: drop redundant file/bat from home.packages flake.lock: update nixpkgs and flake inputs --- modules/scripts/default.nix | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'modules/scripts/default.nix') diff --git a/modules/scripts/default.nix b/modules/scripts/default.nix index abecc38..fd610d0 100644 --- a/modules/scripts/default.nix +++ b/modules/scripts/default.nix @@ -20,27 +20,25 @@ ]; config = { - home.packages = [ - pkgs.file - config.terminal.bat.package - ] - ++ lib.filter (x: x != null) (lib.mapAttrsToList (_: s: s.package) config.scripts) - ++ lib.filter (x: x != null) ( - lib.mapAttrsToList ( - name: sc: - if sc.enable && sc.desktop.enable then - pkgs.makeDesktopItem { - name = name; - desktopName = sc.desktop.displayName; - exec = "${lib.getExe config.terminal.kitty.package} -e ${lib.getExe sc.package}"; - icon = "kitty"; - categories = [ "Utility" ]; - terminal = false; - type = "Application"; - } - else - null - ) config.scripts - ); + home.packages = + [ ] + ++ lib.filter (x: x != null) (lib.mapAttrsToList (_: s: s.package) config.scripts) + ++ lib.filter (x: x != null) ( + lib.mapAttrsToList ( + name: sc: + if sc.enable && sc.desktop.enable then + pkgs.makeDesktopItem { + name = name; + desktopName = sc.desktop.displayName; + exec = "${lib.getExe config.terminal.kitty.package} -e ${lib.getExe sc.package}"; + icon = "kitty"; + categories = [ "Utility" ]; + terminal = false; + type = "Application"; + } + else + null + ) config.scripts + ); }; } -- cgit v1.2.3