16 lines
248 B
Nix
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"
|
||
|
];
|
||
|
}
|