machines/nix/packages/infrastructure/default.nix
Kaare Hoff Skovgaard 8640dce7bc
Some checks failed
/ check (push) Failing after 2m26s
/ terraform-providers (push) Successful in 58s
/ systems (push) Successful in 30m33s
/ dev-shell (push) Successful in 2m10s
/ rust-packages (push) Failing after 3m16s
Remove openbao helper and replace it with more general program
This gets rid of the messy nix code for handling bitwarden
secrets, and unifies it all into a nice single program
in rust. Ensuring that only the needed secrets are loaded.
2025-08-05 21:59:07 +02:00

16 lines
290 B
Nix

{
lib,
inputs,
pkgs,
}:
(lib.khscodes.mkRust pkgs "${inputs.self}/rust").buildRustPackage {
crateName = "infrastructure";
runtimeInputs = [
pkgs.openssh
pkgs.openbao
pkgs.khscodes.opentofu
pkgs.nixos-anywhere
pkgs.uutils-coreutils-noprefix
pkgs.nix
];
}