nixos-config/modules/ssh.nix
Simon Bruder db1348014e
Update to 20.09
MPV is disabled since the override options no longer work.
This also applies updated formatting.
2020-09-25 22:32:42 +02:00

16 lines
248 B
Nix

{ ... }:
let
pubkeys = import ./pubkeys.nix;
in
{
services.openssh = {
enable = true;
permitRootLogin = "yes";
passwordAuthentication = false;
};
users.users.root.openssh.authorizedKeys.keys = [
pubkeys."simon@kipf"
];
}