diff --git a/modules/signal-desktop.nix b/modules/signal-desktop.nix index 3722f4f..9eddb5a 100644 --- a/modules/signal-desktop.nix +++ b/modules/signal-desktop.nix @@ -13,9 +13,9 @@ # TODO: lib.mkIf (config.services.xserver.displayManager.gdm.wayland) - # TODO: Signal on Wayland without crash. + # TODO: Signal on Wayland without frequent crashes. # Signal does also use the NIXOS_OZONE_WL variable to enable Wayland support. - # However, it does currently crash in this mode. + # However, it does currently crash (very often) in this mode. # See # https://github.com/stelcodes/nixos-config/commit/79071d30912c5b6c2560654925bcc98533cf758f # https://github.com/NixOS/nixpkgs/pull/222163 @@ -32,7 +32,7 @@ # signal-desktop-beta --use-tray-icon --enable-features=UseOzonePlatform --ozone-platform=wayland # # https://github.com/NixOS/nixpkgs/issues/222043#issuecomment-1493457041 - nixpkgs.overlays = [ + nixpkgs.overlays = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) [ (self: super: { signal-desktop-beta = super.signal-desktop-beta.overrideAttrs (old: { preFixup = old.preFixup + '' @@ -44,7 +44,7 @@ }); }) ]; -# nixpkgs.overlays = [ +# nixpkgs.overlays = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) [ # (self: super: { # unstable.signal-desktop-beta = super.unstable.signal-desktop-beta.overrideAttrs (old: { # preFixup = old.preFixup + ''