fix: flawed systemd stuff

This commit is contained in:
Moritz Böhme 2024-10-17 13:03:11 +02:00
parent 8b76537d24
commit 4c82f7f76d
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -273,27 +273,5 @@ in
};
};
security.rtkit.enable = true;
home-manager.users.moritz.systemd.user.services =
let
units = [ "waybar" ];
mkAfter = _: {
Unit = {
After = [ "river-session.target" ];
Wants = [ "river-session.target" ];
};
};
in
lib.genAttrs units mkAfter;
systemd.user.services =
let
units = [ "pipewire" "xdg-desktop-portal" "wireplumber" ];
mkAfter = _: {
after = [ "river-session.target" ];
wants = [ "river-session.target" ];
};
in
lib.genAttrs units mkAfter;
};
}