diff --git a/modules/sops/default.nix b/modules/sops/default.nix index c4f9452..5c0b694 100644 --- a/modules/sops/default.nix +++ b/modules/sops/default.nix @@ -64,6 +64,7 @@ let group = mkOption { type = types.str; default = users.${config.owner}.group; + defaultText = literalExpression "config.users.users.\${owner}.group"; description = '' Group of the file. ''; @@ -229,6 +230,7 @@ in { sshKeyPaths = mkOption { type = types.listOf types.path; default = defaultImportKeys "ed25519"; + defaultText = literalDocBook "The ed25519 keys from "; description = '' Paths to ssh keys added as age keys during sops description. ''; @@ -248,6 +250,7 @@ in { sshKeyPaths = mkOption { type = types.listOf types.path; default = defaultImportKeys "rsa"; + defaultText = literalDocBook "The rsa keys from "; description = '' Path to ssh keys added as GPG keys during sops description. This option must be explicitly unset if config.sops.gnupg.sshKeyPaths is set.