From d3613b164df4222ede2665201ed2cf2114e6d22c Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 25 Dec 2025 20:20:19 +0200 Subject: [PATCH] nixos/uwsm: set default for waylandCompositors --- nixos/modules/programs/wayland/uwsm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/programs/wayland/uwsm.nix b/nixos/modules/programs/wayland/uwsm.nix index 966264a3a0fd..112251143a30 100644 --- a/nixos/modules/programs/wayland/uwsm.nix +++ b/nixos/modules/programs/wayland/uwsm.nix @@ -107,6 +107,7 @@ in binPath = "/run/current-system/sw/bin/sway"; }; ''; + default = { }; }; }; @@ -123,7 +124,7 @@ in services.displayManager.enable = true; } - (lib.mkIf cfg.waylandCompositors != {} { + (lib.mkIf (cfg.waylandCompositors != { }) { services.displayManager.sessionPackages = lib.mapAttrsToList ( name: value: mk_uwsm_desktop_entry {