mpd: don't enable mpd for gnome

This commit is contained in:
Leonardo Eugênio 2023-11-07 20:46:08 -03:00
parent 08c09a7fce
commit a18f2791c2

View file

@ -1,4 +1,5 @@
{ pkgs, config, ... }: {
{ lib, pkgs, config, ... }: {
config = lib.mkIf (pkgs.uservars.desktop != "gnome") {
services.mpd = {
enable = true;
musicDirectory = config.home.homeDirectory + "/Música";
@ -24,4 +25,5 @@
dzadd
mpdDup
];
};
}