This repository has no description
0

Configure Feed

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

superconfig / tools / ssh-yubikey / flake-module.nix
616 B 25 lines
1{ self, ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 { 6 packages.ssh-yubikey = self.libWithPkgs.${pkgs.system}.makeWrapper pkgs.openssh { 7 env = { 8 KEYS_DIR = "${self}/keys"; 9 SSH = "${pkgs.openssh}/bin/ssh"; 10 }; 11 runtimeInputs = with pkgs; [ 12 age 13 age-plugin-yubikey 14 age-plugin-fido2-hmac 15 yubikey-manager 16 libfido2 17 self.packages.${pkgs.system}.age-detect 18 ]; 19 wrapper = { exePath, envString, ... }: '' 20 ${envString} 21 ${builtins.readFile ./ssh-yubikey} 22 ''; 23 }; 24 }; 25}