mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-15 17:50:51 +00:00
Add defaultText to some options to make flake-info succeed
This commit is contained in:
parent
cda46de69a
commit
4e887466a1
1 changed files with 3 additions and 0 deletions
|
@ -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 <option>config.services.openssh.hostKeys</option>";
|
||||
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 <option>config.services.openssh.hostKeys</option>";
|
||||
description = ''
|
||||
Path to ssh keys added as GPG keys during sops description.
|
||||
This option must be explicitly unset if <literal>config.sops.gnupg.sshKeyPaths</literal> is set.
|
||||
|
|
Loading…
Reference in a new issue