diff --git a/nixos/boxes/homescreen/default.nix b/nixos/boxes/homescreen/default.nix index 79e3963a..21610d97 100644 --- a/nixos/boxes/homescreen/default.nix +++ b/nixos/boxes/homescreen/default.nix @@ -21,9 +21,15 @@ services.xserver = { enable = true; displayManager.lightdm.enable = true; + displayManager.autoLogin.enable = true; + displayManager.autoLogin.user = "kiosk"; desktopManager.gnome.enable = true; }; + users = { + mutableUsers = false; + users.kiosk = { isNormalUser = true; }; + }; users.extraUsers.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEo4R+6J3h6Ix3xWpOMdU7Es1/YxFchHw0c+kcCOJxFb cyryl@foureighty" ];