From 1f7610974ed8bcd98a4c646039aad538d19b54a6 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 16 Nov 2024 12:36:47 +0100 Subject: home: Add shell-utils module I also moved pbv and trash from hosts/muhammed/home/dev-utils into the new module, since they aren't really development related; I would still want them on a Darwin system that *wasn't* being used for development. --- home/shell-utils/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 home/shell-utils/default.nix (limited to 'home/shell-utils') diff --git a/home/shell-utils/default.nix b/home/shell-utils/default.nix new file mode 100644 index 0000000..bd07597 --- /dev/null +++ b/home/shell-utils/default.nix @@ -0,0 +1,17 @@ +# This module adds some common shell utilities to my home managed environment. +{pkgs, ...}: { + home.packages = with pkgs; + [ + human-sleep + ripgrep + jc + jq + ] + ++ lib.optionals (pkgs.stdenv.isLinux) [ + file # File is not included in NixOS, but *is* included in Darwin. + ] + ++ lib.optionals (pkgs.stdenv.isDarwin) [ + pbv + trash + ]; +} -- cgit v1.2.3