diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 981fb6c2..3bc20d98 100644 --- a/modules/services/mpd.nix +++ b/modules/services/mpd.nix @@ -182,7 +182,7 @@ in }) ]; - systemd.user = lib.mkIf pkgs.stdenv.hostPlatform.isLinux { + systemd.user = { services.mpd = { Unit = lib.mkMerge [ { @@ -236,7 +236,7 @@ in }; }; - launchd.agents.mpd = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin { + launchd.agents.mpd = { enable = true; config = { ProgramArguments = [