fixes and formatting
This commit is contained in:
parent
a6c96c23ae
commit
80cf48f1e8
71 changed files with 746 additions and 1110 deletions
|
|
@ -2,20 +2,26 @@
|
|||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
wrappers.agenix = {
|
||||
basePackage = inputs.agenix-cli.packages.${pkgs.system}.default;
|
||||
|
||||
env.AGENIX_ROOT.value = let
|
||||
path = ".agenix.toml";
|
||||
in
|
||||
pkgs.writeTextDir path (builtins.readFile (pkgs.writers.writeTOML path {
|
||||
paths = [
|
||||
{
|
||||
glob = "**";
|
||||
identities = import ../../secrets/keys.nix;
|
||||
env.AGENIX_ROOT.value =
|
||||
let
|
||||
path = ".agenix.toml";
|
||||
in
|
||||
pkgs.writeTextDir path (
|
||||
builtins.readFile (
|
||||
pkgs.writers.writeTOML path {
|
||||
paths = [
|
||||
{
|
||||
glob = "**";
|
||||
identities = import ../../secrets/keys.nix;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}));
|
||||
)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue