{ config, pkgs, ... }: # Set up a complete labwc-based DE { imports = [ ../thunar ../waybar ../xserver ]; # Enable labwc programs.labwc.enable = true; # Enable XDG portals for wl-roots xdg.portal = { wlr.enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; enable = true; }; # Enable tuigreet services = { greetd = { enable = true; settings = { default_session = { command = "${pkgs.greetd.tuigreet}/bin/tuigreet --user-menu -rti --asterisks --cmd labwc"; user = "greeter"; }; }; }; }; # user-level packages for user home.packages = with pkgs; [ bemenu featherpad ghostty gparted grim imv j4-dmenu-desktop mako mpv nextcloud-client pavucontrol slurp swappy wbg wlr-randr ]; # Hide stderror and bootlogs from filling tuigreet systemd.services.greetd.serviceConfig = { Type = "idle"; StandardInput = "tty"; StandardOutput = "ttu"; StandardError = "journal"; # logs erros to journal, preventing spam on tuigreet TTYReset = true; TTYVHangup = true; TTYVTDisallocate = true; }; }