try this for ssh keys
This commit is contained in:
parent
bb7dca3144
commit
64cc78a2bd
4 changed files with 12 additions and 0 deletions
|
|
@ -1,5 +1,15 @@
|
|||
{
|
||||
age.secrets = {
|
||||
network-manager.file = ../secrets/network-manager.age;
|
||||
ssh-key-private = {
|
||||
file = ../secrets/ssh-key-private.age;
|
||||
path = "/home/osbm/.ssh/id_ed25519";
|
||||
mode = "0600";
|
||||
};
|
||||
ssh-key-public = {
|
||||
file = ../secrets/ssh-key-public.age;
|
||||
path = "/home/osbm/.ssh/id_ed25519.pub";
|
||||
mode = "0644";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,4 +8,6 @@ let
|
|||
];
|
||||
in {
|
||||
"network-manager.age".publicKeys = machines;
|
||||
"ssh-key-private.age".publicKeys = machines;
|
||||
"ssh-key-public.age".publicKeys = machines;
|
||||
}
|
||||
|
|
|
|||
BIN
secrets/ssh-key-private.age
Normal file
BIN
secrets/ssh-key-private.age
Normal file
Binary file not shown.
BIN
secrets/ssh-key-public.age
Normal file
BIN
secrets/ssh-key-public.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue