about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-29 17:57:52 +0200
committeraszlig <aszlig@nix.build>2018-04-29 17:57:52 +0200
commit0c3e4e2626856261da20c741f8664dbe08e5cafc (patch)
tree95c33cbf011f930c841f0b3bfeea8f4e43296432 /modules
parentef40b62e0739b6c4b49916595056f1b4d2d9d078 (diff)
profiles/workstation: Switch to gopass
Even though gopass is more complex than pass, it's also less fragile
because it's written in a reasonably type-safe language rather than
being a giant shell script that relies on lots of external commands.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules')
-rw-r--r--modules/user/aszlig/profiles/workstation/packages.nix2
-rw-r--r--modules/user/aszlig/programs/zsh/default.nix1
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/aszlig/profiles/workstation/packages.nix b/modules/user/aszlig/profiles/workstation/packages.nix
index a418b45f..64fd2fb8 100644
--- a/modules/user/aszlig/profiles/workstation/packages.nix
+++ b/modules/user/aszlig/profiles/workstation/packages.nix
@@ -24,6 +24,7 @@ pkgs: with pkgs; [
   glxinfo
   gnumake
   gnupg1compat
+  gopass
   hexedit
   hledger
   hledger-ui
@@ -52,7 +53,6 @@ pkgs: with pkgs; [
   posix_man_pages
   pulseaudioLight
   vuizvui.aszlig.pvolctrl
-  pass
   pv
   python
   python3
diff --git a/modules/user/aszlig/programs/zsh/default.nix b/modules/user/aszlig/programs/zsh/default.nix
index 5f07d4a2..fb3b9a49 100644
--- a/modules/user/aszlig/programs/zsh/default.nix
+++ b/modules/user/aszlig/programs/zsh/default.nix
@@ -39,6 +39,7 @@ in {
     programs.zsh.enable = true;
 
     programs.zsh.shellAliases.t = "task";
+    programs.zsh.shellAliases.p = "gopass";
 
     programs.zsh.interactiveShellInit = mkAfter ''
       export HISTFILE=~/.histfile