mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-05-11 01:55:57 +08:00
Import age ssh keys by default
This commit is contained in:
parent
44d91e885e
commit
4568162629
2 changed files with 9 additions and 10 deletions
|
|
@ -47,8 +47,12 @@
|
|||
name = "sops-age-ssh-keys";
|
||||
machine = {
|
||||
imports = [ ../../modules/sops ];
|
||||
services.openssh.enable = true;
|
||||
services.openssh.hostKeys = [{
|
||||
type = "ed25519";
|
||||
path = ./test-assets/ssh-ed25519-key;
|
||||
}];
|
||||
sops = {
|
||||
age.sshKeyPaths = [ ./test-assets/ssh-ed25519-key ];
|
||||
defaultSopsFile = ./test-assets/secrets.yaml;
|
||||
secrets.test_key = {};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue