From eb12c48ea7e18f4ca2f0e0725d0349e22a31c388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= <65362461+msyds@users.noreply.github.com> Date: Tue, 25 Mar 2025 19:32:24 -0600 Subject: [PATCH] Update modules/services/mpdscribble.nix Co-authored-by: Austin Horstman --- modules/services/mpdscribble.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/services/mpdscribble.nix b/modules/services/mpdscribble.nix index 82dab4d47..d868f24b1 100644 --- a/modules/services/mpdscribble.nix +++ b/modules/services/mpdscribble.nix @@ -121,6 +121,10 @@ in { }; config = lib.mkIf cfg.enable { + assertions = [ + (lib.hm.assertions.assertPlatform "services.mpdscribble" pkgs + lib.platforms.linux) + ]; systemd.user.services.mpdscribble = let localMpd = (cfg.host == "localhost" || cfg.host == "127.0.0.1");