autologin for kiosk

This commit is contained in:
Cyryl Płotnicki 2022-08-05 21:50:01 +01:00
parent c70923b2ea
commit e395bae737

View file

@ -21,9 +21,15 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.lightdm.enable = true; displayManager.lightdm.enable = true;
displayManager.autoLogin.enable = true;
displayManager.autoLogin.user = "kiosk";
desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
}; };
users = {
mutableUsers = false;
users.kiosk = { isNormalUser = true; };
};
users.extraUsers.root.openssh.authorizedKeys.keys = [ users.extraUsers.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEo4R+6J3h6Ix3xWpOMdU7Es1/YxFchHw0c+kcCOJxFb cyryl@foureighty" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEo4R+6J3h6Ix3xWpOMdU7Es1/YxFchHw0c+kcCOJxFb cyryl@foureighty"
]; ];