added new ssh key

nixos
Moritz Böhme 2021-09-30 21:29:46 +02:00
parent b237dca5ee
commit 025bff6c97
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;