This repository has no description
501 B
23 lines
1{ ... }:
2{
3 perSystem =
4 { pkgs, ... }:
5 {
6 packages.age-detect = pkgs.writeShellApplication {
7 name = "age-detect";
8 runtimeInputs =
9 with pkgs;
10 [
11 age
12 age-plugin-yubikey
13 age-plugin-fido2-hmac
14 yubikey-manager
15 libfido2
16 ]
17 ++ (pkgs.lib.optionals pkgs.stdenv.isDarwin [
18 pkgs.age-plugin-se
19 ]);
20 text = builtins.readFile ./age-detect;
21 };
22 };
23}