self-hosting/modules/openssh.nix
2021-07-15 17:09:32 +02:00

7 lines
167 B
Nix

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