refactor(wpcarro): Define common.shell-utils

DRYing up some of my configuration.

Change-Id: I137692789426efc6a6c6880029e605813674fdbe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4592
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2021-12-24 18:44:36 -05:00 committed by clbot
parent 9e55784265
commit c154e6689d
4 changed files with 57 additions and 60 deletions

View file

@ -5,33 +5,20 @@
let
inherit (builtins) path;
inherit (depot.third_party.nixpkgs) emacsPackagesGen emacs27;
inherit (depot.users) wpcarro;
inherit (pkgs) writeShellScript writeShellScriptBin;
inherit (pkgs.lib.strings) concatStringsSep makeBinPath;
emacsBinPath = makeBinPath (with pkgs; [
bat
clipmenu
direnv
diskus
exa
fd
fzf
gitAndTools.hub
google-cloud-sdk
ispell
jq
kubectl
nix
nmap
pass
pup
ripgrep
scrot
tldr
tokei
xorg.xset
xsv
]);
emacsBinPath = makeBinPath (
wpcarro.common.shell-utils ++
(with pkgs; [
clipmenu
ispell
nix
pass
scrot
xorg.xset
]));
emacsWithPackages = (emacsPackagesGen emacs27).emacsWithPackages;