CrOS/shell.nix
2025-02-08 01:46:17 +00:00

18 lines
433 B
Nix

{pkgs ? import <nixpkgs> {}, ...}: {
default = pkgs.mkShell {
NIX_CONFIG = "extra-experimental-features = nix-command flakes";
DIGITALOCEAN_TOKEN = builtins.readFile /run/secrets/digitalocean/token;
AWS_PROFILE = "wce";
nativeBuildInputs = with pkgs; [
git
vim
terraform
doctl
awscli2
];
shellHook = ''
nix build .#terranix.wce -o config.tf.json
zsh
'';
};
}