From 5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 7 Apr 2020 10:39:27 +0000 Subject: modules/pass: init --- modules/shell/default.nix | 3 +-- modules/shell/pass/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 modules/shell/pass/default.nix (limited to 'modules/shell') diff --git a/modules/shell/default.nix b/modules/shell/default.nix index e5ffa74e8606..61d10cda0680 100644 --- a/modules/shell/default.nix +++ b/modules/shell/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { - imports = [ ./git ./kakoune ./less ./lynx ./tmux ./zsh ]; + imports = [ ./direnv ./git ./kakoune ./less ./lynx ./pass ./tmux ./zsh ]; environment.systemPackages = with pkgs; [ (aspellWithDicts (dicts: with dicts; [ en en-computers en-science eo ])) @@ -20,7 +20,6 @@ neovim nmap openssh - pass pv ranger silver-searcher diff --git a/modules/shell/pass/default.nix b/modules/shell/pass/default.nix new file mode 100644 index 000000000000..69312f2b9345 --- /dev/null +++ b/modules/shell/pass/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ pass ]; + + environment.extraInit = '' + export PASSWORD_STORE_DIR="$HOME/state/pass" + ''; + + home.qyliss.dirs."state/pass" = {}; +} -- cgit 1.4.1