Something went wrong. Try again.
OpenTofu repository describing my nix-cache infrastructure
Something went wrong. Try again.
infra-deephack flake.nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{
description = "Terraform/Scaleway infrastructure development environment";
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; };
outputs = { nixpkgs, ... }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems ( system: f ( import nixpkgs { inherit system; # overlays = [ overlay ]; config.allowUnfree = true; } ) );
hook = '' if [[ $MENU == "true" ]] then chmod +x ./menu.sh ./menu.sh else echo "Menu is off" fi ''; in { devShells = forAllSystems (pkgs: { default = pkgs.mkShell { buildInputs = with pkgs; [ opentofu go-task terragrunt graphviz gum scaleway-cli ]; shellHook = hook; }; }); };}