This repository has no description
0

Configure Feed

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

superconfig / tools / pass / flake-module.nix
572 B 21 lines
1{ self, ... }: 2{ 3 perSystem = 4 { pkgs, system, ... }: 5 let 6 passWithOtp = pkgs.pass.withExtensions (ext: [ ext.pass-otp ]); 7 in 8 { 9 packages.pass = self.libWithPkgs.${system}.makeWrapper passWithOtp { 10 runtimeInputs = [ pkgs.gnupg ]; 11 wrapper = 12 { exePath, envString, ... }: 13 '' 14 ${envString} 15 gpg --import ${self.keys.pgp.yubi.key} &>/dev/null 16 echo '${self.keys.pgp.yubi.id}:6:' | gpg --import-ownertrust &>/dev/null 17 exec ${exePath} "$@" 18 ''; 19 }; 20 }; 21}