diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-07 10:39:27 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-04-07 10:39:27 +0000 |
commit | 5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5 (patch) | |
tree | 422dae447579dc836ceb8ce15f9759dcac45538c /modules/shell | |
parent | 07b89de1d47b56688028dff995bda9e118c97f2d (diff) | |
download | nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.tar nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.tar.gz nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.tar.bz2 nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.tar.lz nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.tar.xz nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.tar.zst nixlib-5769fb5d25121f42e89bdb7a3c3a9dafaefbaac5.zip |
modules/pass: init
Diffstat (limited to 'modules/shell')
-rw-r--r-- | modules/shell/default.nix | 3 | ||||
-rw-r--r-- | modules/shell/pass/default.nix | 11 |
2 files changed, 12 insertions, 2 deletions
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" = {}; +} |