diff options
author | Linnnus <[email protected]> | 2024-11-16 12:36:47 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-11-16 12:36:47 +0100 |
commit | 1f7610974ed8bcd98a4c646039aad538d19b54a6 (patch) | |
tree | 634e939c87353532c5abea1d382edba95b9b6f6d /home/shell-utils | |
parent | ef73ba2355fb5e48a1921c656f1b8e2106700b61 (diff) |
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.
Diffstat (limited to 'home/shell-utils')
-rw-r--r-- | home/shell-utils/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
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 + ]; +} |