feat(system/users): add pubkey to root
This commit is contained in:
parent
fdae75fee6
commit
f2104f3192
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
extraGroups = [ "wheel" ];
|
||||
openssh.authorizedKeys.keys = [ config.system.mainUser.publicKey ];
|
||||
};
|
||||
users.users.root.openssh.authorizedKeys.keys = lib.singleton config.system.mainUser.publicKey;
|
||||
services.getty.autologinUser = config.system.mainUser.name;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue