mpd: Only enable when gui is enabled
This commit is contained in:
parent
82d5a24dfa
commit
d61fc70f23
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue