self-hosting/modules/openssh.nix

8 lines
167 B
Nix
Raw Normal View History

2021-07-15 17:09:32 +02:00
{ pkgs, lib, config, ... }:
{
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keyFiles = [
../ssh_keys/phfroidmont-desktop.pub
];
}