From 59adcecd104607fdeedd6acf35927b004fafe098 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 26 Nov 2024 14:41:46 +0100 Subject: [PATCH] home/services/swaync: fix ConditionEnvironment not working correctly with niri --- home/services/swaync.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/services/swaync.nix b/home/services/swaync.nix index f89e51e..f619636 100644 --- a/home/services/swaync.nix +++ b/home/services/swaync.nix @@ -1,5 +1,7 @@ -_: { +{lib, ...}: { services.swaync = { enable = true; }; + # systemd.user.services.swaync.Service.Environment = "WAYLAND_DISPLAY=wayland-1"; + systemd.user.services.swaync.Unit.ConditionEnvironment = lib.mkForce ""; }