about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-05T15·02+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-06T10·15+0000
commit19742e7790d31e5c0c36fd0d08b07fb958009464 (patch)
treeef04df90942b8b82ecfeef864b68ebffcce2af9f
parentf645b6dadf1d0d8cc9dbcf61c9e93a222487e1c7 (diff)
Add programs to home-manager
Support commonly used programs like fd, exa, bat, etc.

For now, I'm unsure how to manage the programs in my emacs/default.nix with my
home.nix. I'll wait until I have a stronger opinion to handle this.
-rw-r--r--README.md6
-rw-r--r--configs/shared/.config/nixpkgs/home.nix22
-rw-r--r--emacs/default.nix10
3 files changed, 18 insertions, 20 deletions
diff --git a/README.md b/README.md
index fe3ee5779060..3f1b44812285 100644
--- a/README.md
+++ b/README.md
@@ -95,16 +95,10 @@ Missing the following dependencies:
 
 - `stow`
 - `neovim`
-- `bat`
-- `exa`
 - `fasd`
 - `opam`
 - `ghcup`
-- `ripgrep`
-- `fzf`
-- `fd`
 - `hub`
-- `pass`
 
 ```bash
 $ cd ~/Dropbox/dotfiles
diff --git a/configs/shared/.config/nixpkgs/home.nix b/configs/shared/.config/nixpkgs/home.nix
index 63bdf047b3f9..f37454165e6d 100644
--- a/configs/shared/.config/nixpkgs/home.nix
+++ b/configs/shared/.config/nixpkgs/home.nix
@@ -1,10 +1,24 @@
 { config, pkgs, ... }:
 
 {
-  home.packages = with pkgs; [
-  ];
-
-  home.stateVersion = "19.09";
+  home = {
+    packages = with pkgs; [
+      bat
+      exa
+      ripgrep
+      fd
+      pass
+      tokei
+      nmap
+      tldr
+      diskus
+      jq
+      pup
+    ];
+    sessionVariables = {
+    };
+    stateVersion = "19.09";
+  };
 
   ##############################################################################
   # Programs
diff --git a/emacs/default.nix b/emacs/default.nix
index 3daeecd07b22..b3d570fb7894 100644
--- a/emacs/default.nix
+++ b/emacs/default.nix
@@ -7,17 +7,7 @@ let
   # language-specific tooling, I'm intending to use shell.nix alongside lorri
   # and direnv.
   emacsBinPath = pkgs.lib.strings.makeBinPath (with pkgs; [
-    lorri
-    direnv
     tdesktop # native telegram client
-    diskus
-    bat
-    exa
-    fd
-    fzf
-    tldr
-    tokei
-    nmap
     ripgrep
     gitAndTools.hub
     kubectl