mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
Import age keyfile and ssh keys at the same time
This commit is contained in:
parent
a3e3dc7710
commit
5db02f2939
2 changed files with 31 additions and 17 deletions
|
|
@ -140,7 +140,6 @@ in {
|
|||
example = "/var/lib/sops-nix/key.txt";
|
||||
description = ''
|
||||
Path to age key file used for sops decryption.
|
||||
Setting this to a non-null value causes the ssh keys to be ignored.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
@ -159,7 +158,6 @@ in {
|
|||
default = if config.services.openssh.enable then map (e: e.path) (lib.filter (e: e.type == "ed25519") config.services.openssh.hostKeys) else [];
|
||||
description = ''
|
||||
Paths to ssh keys added as age keys during sops description.
|
||||
This setting is ignored when the keyFile is set to a non-null value.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue