fix: handle missing xwaylandvideobridge attr conditionally

This commit is contained in:
Ash
2026-03-07 10:16:02 -08:00
committed by John Ogle
parent 9b7ce04a41
commit 2ae03eb7bf

View File

@@ -87,9 +87,9 @@ in
xdg.portal.configPackages = [ plasma-bigscreen ];
# Fix homescreen not being focused after quitting app or on boot
environment.plasma6.excludePackages = with pkgs; [
kdePackages.xwaylandvideobridge
];
# xwaylandvideobridge can interfere with focus; exclude if present
environment.plasma6.excludePackages =
lib.optional (pkgs.kdePackages ? xwaylandvideobridge) pkgs.kdePackages.xwaylandvideobridge;
# Firewall for remote control
networking.firewall = {