Closed ndom91 closed 8 months ago
Ah okay, nevermind. After a few reboots (it seemed to work the first time :thinking:) It's now errorign with cannot open display :0
I assume I have to add WantedBy
or After
for hyprland.service
.. will report back
EDIT: Hmm it already ships with After=graphical-session.target
:thinking:
EDIT 2: I'm on systemd 254, so I'm assuming the CONDITION_ENVIRONMENT
should be working too :thinking: :thinking:
will do some more digging..
Hey folks, thanks for this great notification center!
I've been launching
swaync
through Hyprland'sexec-once
on startup. But I recenlty noticed that a user systemd service is shipped with theswaynotificationcenter
nixpkg.Do you recommend using that service file on nixos? If so, how would you enable it declaratively?
I'm relatively new to nixos, but setting
systemd.services.swaync.enable = true;
inconfiguration.nix
doesn't seem to work, I assume it's got to be underhome.nix
or an import thereof to target the user systemd service, isntead of a (non-existent) system wide one?EDIT: Nevermind, it does seem to work like so: