mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
10 lines
309 B
Nix
10 lines
309 B
Nix
{ lib, ... }:
|
|
{
|
|
users.users.root = {
|
|
# mkpasswd -m sha-512
|
|
hashedPassword = "$6$Dq4WmzyLjQUTyXT1$0Ll5rZ0R33qfGnEmAOZQuh.6udRN19luImYAmqsCKxfV14yHQ8vt9B/pf945..r1jTmlu7wfAXSe7kfoBm9jK0";
|
|
openssh.authorizedKeys.keys = [ ];
|
|
};
|
|
|
|
services.openssh.settings.PermitRootLogin = lib.mkDefault "no";
|
|
}
|