about summary refs log tree commit diff
path: root/users/wpcarro/emacs/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-24T23·44-0500
committerclbot <clbot@tvl.fyi>2021-12-24T23·56+0000
commitc154e6689de542afa2d23f0b6a95288db8ee39a2 (patch)
tree5dbc9cd5b6c4f350a1334f2be2824fd4820370ab /users/wpcarro/emacs/default.nix
parent9e557842651f137c0e2c2bfe9fc41d768a492331 (diff)
refactor(wpcarro): Define common.shell-utils r/3380
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
Diffstat (limited to 'users/wpcarro/emacs/default.nix')
-rw-r--r--users/wpcarro/emacs/default.nix35
1 files changed, 11 insertions, 24 deletions
diff --git a/users/wpcarro/emacs/default.nix b/users/wpcarro/emacs/default.nix
index b12e6410eec6..3645f880ee30 100644
--- a/users/wpcarro/emacs/default.nix
+++ b/users/wpcarro/emacs/default.nix
@@ -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;