diff --git a/users/simon/modules/mpd.nix b/users/simon/modules/mpd.nix index 1f42916..dcc1030 100644 --- a/users/simon/modules/mpd.nix +++ b/users/simon/modules/mpd.nix @@ -1,6 +1,8 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: -{ +# I only use mpd on gui systems. If I should ever need it on a headless system, +# I will add a separate option. +lib.mkIf config.sbruder.gui.enable { services.mpd = { enable = true; musicDirectory = "~/Music";