{ inputs, povSelf, config, lib, pkgs, ... }: let inherit (lib) types; cfg = lib.getAttrFromPath povSelf config; in { options.enable = { type = types.bool; default = false; }; config = lib.mkIf cfg.enable { sops = { defaultSopsFile = inputs.self.sopsSecrets.${config.networking.hostName}; }; }; }