fix(home): Wrap cava config in programs.cava

This commit is contained in:
punkfairie 2024-11-16 22:57:36 -08:00
parent 7db00936a0
commit 0e2d5d093e
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -14,16 +14,18 @@ in
options = mkEnableModule "programs.cava";
config = mkIf cfg.enable {
enable = true;
programs.cava = {
enable = true;
rose-pine = mkIf colors.isRosePine enabled;
rose-pine = mkIf colors.isRosePine enabled;
# TODO: disable this when mpd is not enabled? Can that be detected on non
# NixOS systems?
settings = {
input = {
method = "fifo";
source = "/tmp/mpd.fifo";
# TODO: disable this when mpd is not enabled? Can that be detected on non
# NixOS systems?
settings = {
input = {
method = "fifo";
source = "/tmp/mpd.fifo";
};
};
};
};