forked from Fachschaft/nixConfig
disable root login
This commit is contained in:
parent
c7825cbd01
commit
d0d7237fa6
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ networking = {
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
|
users.root.hashedPassword = "!";
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
Loading…
Reference in a new issue