From 54ff83fcc7f98b9f81e24ca781164e71026a7709 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Sat, 12 Apr 2025 20:50:25 -0600 Subject: [PATCH] feat(crumb): Cantata --- modules/home/users/crumb/mpd.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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" ]; }; } -