From d07be261c776253ad00c97139a955ecbef74cd11 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 27 May 2024 22:46:37 +0200 Subject: [PATCH] shell.nix --- ansible/.envrc | 3 +++ ansible/shell.nix | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 ansible/.envrc create mode 100644 ansible/shell.nix diff --git a/ansible/.envrc b/ansible/.envrc new file mode 100644 index 0000000..9391218 --- /dev/null +++ b/ansible/.envrc @@ -0,0 +1,3 @@ +use nix +#!/usr/bin/env bash +export SUMMON_PROVIDER=$PWD/../summon-wrapper diff --git a/ansible/shell.nix b/ansible/shell.nix new file mode 100644 index 0000000..803a907 --- /dev/null +++ b/ansible/shell.nix @@ -0,0 +1,15 @@ +{ pkgs ? import {} }: + +let + overrides = (builtins.fromTOML (builtins.readFile ./rust-toolchain.toml)); + libPath = with pkgs; lib.makeLibraryPath []; +in +pkgs.mkShell { + packages = with pkgs; [ + opentofu + summon + ansible + passage + # cargo + ]; +}