aboutsummaryrefslogtreecommitdiffstats
path: root/shell.nix
blob: 1b660a3463e15262fa19f6358be05fe26af91708 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
  '';
}