fix(user/malte): darkman startup

Startup failed because the activation script that
updates the hyprpaper configuration was hitting
the hyprpaper backend before it was ready.
This commit is contained in:
Malte Tammena 2024-08-17 22:18:04 +02:00
parent bd3f6996d6
commit 4e8afde77e

View file

@ -1,6 +1,7 @@
{
pkgs,
lib,
config,
nixosConfig,
...
}: let
@ -211,6 +212,12 @@ in {
lng = 12.36;
};
};
# This ensures that the hyprpaper scripts for darkman only run after the
# backend for hyprpaper is running
systemd.user.services.darkman.Unit.After =
if builtins.hasAttr "hyprpaper" config.systemd.user.services
then ["hyprpaper.service"]
else [];
services.mpris-proxy.enable = true;
services.pasystray.enable = true;