Autologin to root for access from hypervisor
This commit is contained in:
parent
eab130b99d
commit
369d655a38
@ -32,10 +32,11 @@ in
|
|||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Autologin to root for access from hypervisor
|
||||||
|
services.getty.autologinUser = "root";
|
||||||
|
|
||||||
# Local user
|
# Local user
|
||||||
modules.secrets.secrets."passwords/local-hashed".neededForUsers = true;
|
modules.secrets.secrets."passwords/local-hashed".neededForUsers = true;
|
||||||
services.getty.autologinUser = "local";
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.users.local = {
|
users.users.local = {
|
||||||
hashedPasswordFile = config.sops.secrets."passwords/local-hashed".path;
|
hashedPasswordFile = config.sops.secrets."passwords/local-hashed".path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user