self-hosting/modules/openssh.nix
2021-07-24 03:02:54 +02:00

8 lines
202 B
Nix

{ pkgs, lib, config, ... }:
{
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keyFiles = [
../ssh_keys/phfroidmont-desktop.pub
../ssh_keys/froidmpa-laptop.pub
];
}