This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / pass.nix
680 B 26 lines
1{ self, ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 { 6 packages.pass = pkgs.symlinkJoin { 7 name = "pass"; 8 paths = [ 9 (pkgs.writeShellApplication { 10 name = "pass"; 11 runtimeInputs = [ 12 (pkgs.pass.withExtensions (ext: [ ext.pass-otp ])) 13 pkgs.gnupg 14 ]; 15 text = '' 16 set -efu 17 gpg --import ${self.keys.pgp.yubi.key} &>/dev/null 18 echo '${self.keys.pgp.yubi.id}:6:' | gpg --import-ownertrust &>/dev/null 19 pass "$@" 20 ''; 21 }) 22 (pkgs.pass.withExtensions (ext: [ ext.pass-otp ])) 23 ]; 24 }; 25 }; 26}