diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-12 13:48:41 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-12 13:48:41 +0100 |
commit | ff32ceaae000fbc44eb54bd01fe4b7bd77995b37 (patch) | |
tree | fb313ee2003da177704ba10c3da9bb7414f22935 /shell.nix | |
parent | a7c15eb497d95f04e36ab90d84c37cdde71c8e0e (diff) | |
download | nixos-ff32ceaae000fbc44eb54bd01fe4b7bd77995b37.tar nixos-ff32ceaae000fbc44eb54bd01fe4b7bd77995b37.tar.gz nixos-ff32ceaae000fbc44eb54bd01fe4b7bd77995b37.tar.bz2 nixos-ff32ceaae000fbc44eb54bd01fe4b7bd77995b37.tar.xz nixos-ff32ceaae000fbc44eb54bd01fe4b7bd77995b37.zip |
openssh: certificate authority
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -8,6 +8,10 @@ let | |||
8 | wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes"' | 8 | wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes"' |
9 | ''; | 9 | ''; |
10 | }; | 10 | }; |
11 | |||
12 | tai64dec = pkgs.writeShellScriptBin "tai64dec" '' | ||
13 | echo $((16#$(${pkgs.daemontools}/bin/tai64n <<<"" | ${pkgs.coreutils}/bin/tail -c +2 | ${pkgs.coreutils}/bin/head -c 16))) | ||
14 | ''; | ||
11 | in pkgs.mkShell { | 15 | in pkgs.mkShell { |
12 | name = "nixos"; | 16 | name = "nixos"; |
13 | nativeBuildInputs = with pkgs; [ | 17 | nativeBuildInputs = with pkgs; [ |
@@ -17,5 +21,6 @@ in pkgs.mkShell { | |||
17 | gup | 21 | gup |
18 | nftables | 22 | nftables |
19 | deploy-rs | 23 | deploy-rs |
24 | tai64dec | ||
20 | ]; | 25 | ]; |
21 | } | 26 | } |