added new ssh key

This commit is contained in:
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; services.sshd.enable = true;
environment.systemPackages = [ environment.systemPackages = [ inputs.agenix.defaultPackage.x86_64-linux ];
inputs.agenix.defaultPackage.x86_64-linux
];
age.secrets.nordvpn.file = ../../secrets/nordvpn.age; age.secrets.nordvpn.file = ../../secrets/nordvpn.age;
age.secrets.davfs = { age.secrets.davfs = {
file = ../../secrets/davfs.age; file = ../../secrets/davfs.age;

View file

@ -6,7 +6,7 @@ let
nixos-laptop = nixos-laptop =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhtwHDGAZshiQWKkCcPWV9tC83b+bKBgjDcjP/N2CKO"; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhtwHDGAZshiQWKkCcPWV9tC83b+bKBgjDcjP/N2CKO";
nixos-desktop = nixos-desktop =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQyvmbmn1dF2CK+vAHHetyEjb0pMIxT6wlVtmdsTnrj"; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKl8gMhwSf1NsP5gp14xbbyjqQLZzcHLb/XKRMoHdXgI";
hosts = [ nixos-laptop nixos-desktop ]; hosts = [ nixos-laptop nixos-desktop ];
in { in {
"nordvpn.age".publicKeys = users ++ hosts; "nordvpn.age".publicKeys = users ++ hosts;