diff --git a/iso/gpu.nix b/iso/gpu.nix index e35440ff..f9fee7b4 100644 --- a/iso/gpu.nix +++ b/iso/gpu.nix @@ -25,7 +25,6 @@ virtualisation.vmware.guest.enable = pkgs.stdenv.hostPlatform.isx86; virtualisation.hypervGuest.enable = true; services.xe-guest-utilities.enable = pkgs.stdenv.hostPlatform.isx86; - virtualisation.virtualbox.guest.enable = true; # Enable plymouth boot.plymouth.enable = true; @@ -33,6 +32,21 @@ environment.defaultPackages = with pkgs; [ weston ]; + + services.xserver.displayManager.gdm = { + enable = true; + # autoSuspend makes the machine automatically suspend after inactivity. + # It's possible someone could/try to ssh'd into the machine and obviously + # have issues because it's inactive. + # See: + # * https://github.com/NixOS/nixpkgs/pull/63790 + # * https://gitlab.gnome.org/GNOME/gnome-control-center/issues/22 + autoSuspend = false; + }; + services.displayManager.autoLogin = { + enable = true; + user = "nixos"; + }; hardware.graphics = { enable = true; extraPackages = with pkgs; [