reo101
af91b1e76d
Specifically `homix` - remove manual `home-manager` module definition Import `(r)agenix` and `agenix-rekey` by default for all `NixOS` configurations Move `machines.nix` flake module import to `configuration.nix` from `flake.nix`
11 lines
434 B
Nix
11 lines
434 B
Nix
{ inputs, outputs, lib, pkgs, config, options, ... }:
|
|
{
|
|
config = {
|
|
# NOTE: `(r)agenix` and `agenix-rekey` modules are imported by `../../../nix/configurations.nix`
|
|
age.rekey = {
|
|
masterIdentities = lib.mkDefault [ "${inputs.self}/secrets/privkey.age" ];
|
|
storageMode = lib.mkDefault "local";
|
|
localStorageDir = lib.mkDefault "${inputs.self}/secrets/rekeyed/${config.networking.hostName}";
|
|
};
|
|
};
|
|
}
|