Nixos 24.11 breaks xfce

After switching to channel for 24.11 my desktop system wont boot anymore with error
Failed to start displaymanager

after checking systemctl i found Error:
Unit plymouth-quit.service not found

i tried to switch to a different displaymanager but no success, had to revert back to 24.05

my configuration.nix (similar configuration works fine on 24.11 with my laptop and hyprland)

{ config, pkgs, ... }:

{
  imports =
    [
      ./hardware-configuration.nix
    ];

  boot = {
    kernelPackages = pkgs.linuxPackages_latest;
    loader = {
      systemd-boot.enable = true;
      efi.canTouchEfiVariables = true;
    };
  };

  networking = {
    hostName = "r4nmaru";
    networkmanager.enable = true;
  };

  time.timeZone = "Europe/Berlin";

  i18n = {
    defaultLocale = "de_DE.UTF-8"; 
    extraLocaleSettings = {
      LC_ADDRESS = "de_DE.UTF-8";
      LC_IDENTIFICATION = "de_DE.UTF-8";
      LC_MEASUREMENT = "de_DE.UTF-8";
      LC_MONETARY = "de_DE.UTF-8";
      LC_NAME = "de_DE.UTF-8";
      LC_NUMERIC = "de_DE.UTF-8";
      LC_PAPER = "de_DE.UTF-8";
      LC_TELEPHONE = "de_DE.UTF-8";
      LC_TIME = "de_DE.UTF-8";
    };
  };

  services = {
    displayManager.defaultSession = "xfce";
    xserver = {
      videoDrivers = ["nvidia"];
      enable = true;
      xkb.layout = "de";
      xkb.variant = "";
      desktopManager = {
        xterm.enable = false;
        xfce.enable = true;
      };
    };
    pipewire = {
      enable = true;
      alsa.enable = true;
      alsa.support32Bit = true;
      pulse.enable = true;
    };
  };

  console.keyMap = "de";
  security.rtkit.enable = true;

  nixpkgs.config = {
    allowUnfree = true;
    packageOverrides = pkgs: {
      unstable = import <unstable> {
        config = config.nixpkgs.config;
      };
      zen = pkgs.callPackage /home/r4nmaru/IdeaProjects/nixos-programs/zen.nix { };
      bruno = pkgs.callPackage /home/r4nmaru/IdeaProjects/nixos-programs/bruno.nix { };
    };
  };

  users.users.r4nmaru = {
    isNormalUser = true;
    description = "r4nmaru";
    extraGroups = [ "networkmanager" "wheel" ];
    packages = with pkgs; [
      atuin
      brave
      btop
      discord
      fish
      git
      gparted
      lxqt.qlipper
      nvitop
      rofi-wayland
      zoxide
      unstable.beekeeper-studio
      unstable.bruno
      unstable.jetbrains.idea-ultimate
      unstable.keepassxc
      unstable.kitty
      unstable.go
      unstable.quickemu
      unstable.vscodium
      unstable.zen
    ];
  };
   
  fonts.packages = with pkgs; [
    jetbrains-mono
  ];
  
  fileSystems."/mnt/steam" = {
    device = "/dev/sda1";
    fsType = "ext4";
  };

  fileSystems."/mnt/m2" = {
    device = "/dev/nvme1n1p1";
    fsType = "ext4";
  };
  
  fileSystems."/mnt/mp600" = {
    device = "/dev/nvme0n1p1";
    fsType = "ext4";
  };  

  environment.xfce.excludePackages = [
    pkgs.xfce.xfce4-taskmanager
    pkgs.xfce.xfce4-terminal
    pkgs.xfce.xfce4-appfinder
    pkgs.xfce.mousepad
  ];

  programs = {
   steam = {
     enable = true;
     remotePlay.openFirewall = true;
     dedicatedServer.openFirewall = true;
   };
  };

  nix.settings.experimental-features = ["nix-command" "flakes"];

  hardware.graphics = {
     enable = true;
     enable32Bit = true;
  };
 
  hardware.nvidia = {
    modesetting.enable = true;
    powerManagement.enable = false;
    powerManagement.finegrained = false;
    open = false;
    nvidiaSettings = false;
    package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
      version = "565.57.01";
      sha256_64bit = "sha256-buvpTlheOF6IBPWnQVLfQUiHv4GcwhvZW3Ks0PsYLHo=";
      sha256_aarch64 = "sha256-aDVc3sNTG4O3y+vKW87mw+i9AqXCY29GVqEIUlsvYfE=";
      openSha256 = "sha256-/tM3n9huz1MTE6KKtTCBglBMBGGL/GOHi5ZSUag4zXA=";
      settingsSha256 = "sha256-H7uEe34LdmUFcMcS6bz7sbpYhg9zPCb/5AmZZFTx1QA=";
      persistencedSha256 = "sha256-hdszsACWNqkCh8G4VBNitDT85gk9gJe1BlQ8LdrYIkg=";
    };
  };

  system.stateVersion = "24.11";
}
1 Like

I recently fixed such an error by downgrading to a 6.11 kernel

boot.kernelPackages = pkgs.linuxPackages_6_11;
1 Like