From cfe397c8c091a06a5a0a4e683e6fca2e57a8312f Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 28 Jul 2025 23:13:50 -0500 Subject: [PATCH] arrpc: assert linux Only has systemd support, so don't let darwin users think they are enabling something. Signed-off-by: Austin Horstman --- modules/services/arrpc.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/services/arrpc.nix b/modules/services/arrpc.nix index 53bc8a25..4ec37a2b 100644 --- a/modules/services/arrpc.nix +++ b/modules/services/arrpc.nix @@ -33,6 +33,11 @@ in }; config = mkIf cfg.enable { + # NOTE: Currently only systemd implemented + assertions = [ + (lib.hm.assertions.assertPlatform "services.arrpc" pkgs lib.platforms.linux) + ]; + systemd.user.services.arRPC = { Unit = { Description = "Discord Rich Presence for browsers, and some custom clients";