diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 12 |
1 files changed, 12 insertions, 0 deletions
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 <nixpkgs> { } }: +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 + ''; +} |