From db8cb61d4a13fa861440379f4788a6524d880467 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 15 Feb 2024 06:27:47 +0100 Subject: init code.nomath.org --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1b660a3 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import { } }: +let inherit (pkgs) lib; in +pkgs.mkShell { + buildInputs = [ + pkgs.git + pkgs.niv + ]; + shellHook = '' + PASSWORD_STORE_DIR=${lib.escapeShellArg (toString ./.)}/secrets; export PASSWORD_STORE_DIR + HETZNER_DNS_API_TOKEN=$(pass show hetznerdns-api-token); export HETZNER_DNS_API_TOKEN + ''; +} -- cgit v1.2.3