1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

arrpc: assert linux

Only has systemd support, so don't let darwin users think they are
enabling something.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-07-28 23:13:50 -05:00
parent 0f9fae161d
commit cfe397c8c0

View file

@ -33,6 +33,11 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
# NOTE: Currently only systemd implemented
assertions = [
(lib.hm.assertions.assertPlatform "services.arrpc" pkgs lib.platforms.linux)
];
systemd.user.services.arRPC = { systemd.user.services.arRPC = {
Unit = { Unit = {
Description = "Discord Rich Presence for browsers, and some custom clients"; Description = "Discord Rich Presence for browsers, and some custom clients";