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.
16 lines
290 B
Nix
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
|
|
];
|
|
}
|