added new ssh key
This commit is contained in:
parent
b237dca5ee
commit
025bff6c97
2 changed files with 2 additions and 4 deletions
|
@ -2,9 +2,7 @@
|
|||
|
||||
{
|
||||
services.sshd.enable = true;
|
||||
environment.systemPackages = [
|
||||
inputs.agenix.defaultPackage.x86_64-linux
|
||||
];
|
||||
environment.systemPackages = [ inputs.agenix.defaultPackage.x86_64-linux ];
|
||||
age.secrets.nordvpn.file = ../../secrets/nordvpn.age;
|
||||
age.secrets.davfs = {
|
||||
file = ../../secrets/davfs.age;
|
||||
|
|
|
@ -6,7 +6,7 @@ let
|
|||
nixos-laptop =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhtwHDGAZshiQWKkCcPWV9tC83b+bKBgjDcjP/N2CKO";
|
||||
nixos-desktop =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQyvmbmn1dF2CK+vAHHetyEjb0pMIxT6wlVtmdsTnrj";
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKl8gMhwSf1NsP5gp14xbbyjqQLZzcHLb/XKRMoHdXgI";
|
||||
hosts = [ nixos-laptop nixos-desktop ];
|
||||
in {
|
||||
"nordvpn.age".publicKeys = users ++ hosts;
|
||||
|
|
Loading…
Reference in a new issue