2024-07-19 00:06:58 +02:00
|
|
|
{ inputs, outputs, lib, pkgs, config, options, ... }:
|
2024-07-21 15:46:12 +02:00
|
|
|
{
|
|
|
|
config = {
|
|
|
|
# NOTE: `(r)agenix` and `agenix-rekey` modules are imported by `../../../nix/configurations.nix`
|
|
|
|
age.rekey = {
|
2024-07-19 00:35:55 +02:00
|
|
|
masterIdentities = lib.mkDefault [ "${inputs.self}/secrets/privkey.age" ];
|
|
|
|
storageMode = lib.mkDefault "local";
|
|
|
|
localStorageDir = lib.mkDefault "${inputs.self}/secrets/rekeyed/${config.networking.hostName}";
|
2024-07-19 00:06:58 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|