You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
821 B
Nix

{ sources ? import ./npins, pkgs ? import sources.nixpkgs { } }:
{
package = pkgs.buildGoModule {
name = "systemd-openbaod";
src = ./.;
vendorHash = null;
meta = with pkgs.lib; {
description = "A proxy for secrets between systemd services and openbao";
homepage = "https://git.newtype.fr/ryan/systemd-openbaod";
license = licenses.mit;
maintainers = with maintainers; [ raitobezarius ];
platforms = platforms.unix;
};
};
nixosModules = {
openbaoAgent = ./nix/modules/openbao-agent.nix;
systemdOpenBaod = ./nix/modules/systemd-openbaod.nix;
};
shell = pkgs.mkShellNoCC {
buildInputs = with pkgs; [
python3.pkgs.pytest
python3.pkgs.mypy
golangci-lint
# openbao
systemd
hivemind
go
just
];
};
}