diff --git a/modules/home/users/crumb/mpd.nix b/modules/home/users/crumb/mpd.nix index c7d71ae..eafd2f7 100644 --- a/modules/home/users/crumb/mpd.nix +++ b/modules/home/users/crumb/mpd.nix @@ -12,6 +12,18 @@ in { librefm-password = {}; }; + home.packages = [ + # An MPD client with a nice GUI. + pkgs.cantata + ]; + + sydnix.impermanence.directories = + let xdg-data-home = + lib.removePrefix "${config.home.homeDirectory}" + (lib.removePrefix "~" + (config.xdg.dataHome)); + in [ "${xdg-data-home}/cantata" ]; + sydnix.mpd = { enable = true; discord.enable = true; @@ -31,10 +43,5 @@ in { }; }; }; - - # Mpdscribble uses our password files, so it is imperative that the service - # runs only after said password files are brought into existence. }:) - # systemd.user.services.mpdscribble.Unit.After = [ "sops-nix.service" ]; }; } -