2024-07-19 00:06:58 +02:00
|
|
|
{ inputs, outputs, lib, pkgs, config, options, ... }:
|
2024-07-21 15:46:12 +02:00
|
|
|
{
|
|
|
|
config = {
|
2024-07-27 12:10:26 +02:00
|
|
|
# NOTE: `(r)agenix` and `agenix-rekey` modules are imported by `../../../modules/flake/configurations.nix`
|
2024-07-21 15:46:12 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|