1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

Update modules/services/mpdscribble.nix

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Madeleine Sydney Ślaga 2025-03-25 19:32:24 -06:00 committed by Madeleine Sydney
parent be7594151e
commit eb12c48ea7

View file

@ -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");