diff --git a/distro/etc_nixos/modules/xfce/default.nix b/distro/etc_nixos/modules/xfce/default.nix index d4e985fd3..6bd79a4d9 100644 --- a/distro/etc_nixos/modules/xfce/default.nix +++ b/distro/etc_nixos/modules/xfce/default.nix @@ -15,6 +15,10 @@ in { description = "XFCE Desktop Environment"; after = [ "getty.target" ]; wantedBy = [ "multi-user.target" ]; + # XFCE needs exclusive access to tty1 to prevent the getty login prompt + # from interfering with the graphical display. This conflict ensures + # that getty@tty1.service does not run alongside the XFCE desktop. + conflicts = [ "getty@tty1.service" ]; serviceConfig = { Environment = "DISPLAY=:0"; ExecStart = "${startXfce}/bin/start_xfce";