This repository has no description
528 B
24 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 age-plugin-tpm
15 yubikey-manager
16 libfido2
17 ]
18 ++ (pkgs.lib.optionals pkgs.stdenv.isDarwin [
19 pkgs.age-plugin-se
20 ]);
21 text = builtins.readFile ./age-detect;
22 };
23 };
24}