import DO token into environment while assuming shell

This commit is contained in:
TheWanderingCrow 2025-02-07 20:39:05 -05:00
parent 0fa437530e
commit b11cedf26b
2 changed files with 9 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{pkgs ? import <nixpkgs> {}, ...}: {
default = pkgs.mkShell {
NIX_CONFIG = "extra-experimental-features = nix-command flakes";
DIGITALOCEAN_TOKEN = builtins.readFile /run/secrets/digitalocean/token;
nativeBuildInputs = with pkgs; [
git
vim