my system configurations ^-^
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: boolean condition

willow 20163f30 eb2bfbf4

+4 -3
+4 -3
modules/shared/home/programs/cli/beets.nix
··· 11 11 config = lib.mkIf (cfg.cli.enable 12 12 && cfg.categories.music.enable) { 13 13 systemd.user.services.mpdstats = 14 - lib.mkIf stdenv.isLinux 15 - && config.services.mpd.enable 16 - == true { 14 + lib.mkIf (stdenv.isLinux 15 + && config.services.mpd.enable) 16 + { 17 17 Unit = { 18 18 Description = "Beets MPDStats daemon"; 19 19 Requires = ["mpd.service"]; ··· 27 27 Restart = "on-failure"; 28 28 }; 29 29 }; 30 + 30 31 programs.beets = { 31 32 enable = true; 32 33 mpdIntegration.enableUpdate = true;