From ff32ceaae000fbc44eb54bd01fe4b7bd77995b37 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 12 Feb 2022 13:48:41 +0100 Subject: openssh: certificate authority --- shell.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index ad10de87..a8239dc8 100644 --- a/shell.nix +++ b/shell.nix @@ -8,6 +8,10 @@ let wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes"' ''; }; + + tai64dec = pkgs.writeShellScriptBin "tai64dec" '' + echo $((16#$(${pkgs.daemontools}/bin/tai64n <<<"" | ${pkgs.coreutils}/bin/tail -c +2 | ${pkgs.coreutils}/bin/head -c 16))) + ''; in pkgs.mkShell { name = "nixos"; nativeBuildInputs = with pkgs; [ @@ -17,5 +21,6 @@ in pkgs.mkShell { gup nftables deploy-rs + tai64dec ]; } -- cgit v1.2.3