{ den.aspects = { desktop-session-modular = { nixos = { lib, pkgs, ... }: { # ----- xfce (x11 + wayland) services.xserver.desktopManager.xfce = { enable = true; noDesktop = true; enableXfwm = false; }; services.xserver.desktopManager.xfce.enableWaylandSession = true; environment.variables = { XDG_CURRENT_DESKTOP = "XFCE"; }; programs.xfconf.enable = true; programs.thunar = { enable = true; plugins = [ pkgs.xfce.thunar-volman pkgs.xfce.thunar-vcs-plugin pkgs.xfce.thunar-archive-plugin ]; }; environment.xfce.excludePackages = [ pkgs.xfce.xfce4-terminal pkgs.xfce.parole ]; environment.systemPackages = [ pkgs.xfce.exo ]; # ----- openbox (x11) services.xserver.windowManager.openbox.enable = true; # ----- labwc (wayland) programs.labwc.enable = true; # ----- picom (X11 compositor) services.picom = { enable = true; vSync = true; settings = { backend = "egl"; }; }; }; }; }; }