13 lines
504 B
Nix
13 lines
504 B
Nix
{ inputs, lib, pkgs, config, options, ... }:
|
|
{
|
|
config = {
|
|
# NOTE: `(r)agenix` and `agenix-rekey` modules are imported by `../../../modules/flake/configurations.nix`
|
|
age.rekey = {
|
|
# NOTE: defined in `meta.nix`
|
|
# hostPubkey = null;
|
|
masterIdentities = lib.mkDefault [ "${inputs.self}/secrets/privkey.age" ];
|
|
storageMode = lib.mkDefault "local";
|
|
localStorageDir = lib.mkDefault "${inputs.self}/secrets/rekeyed/${config.networking.hostName}";
|
|
};
|
|
};
|
|
}
|