fix(home): Wrap cava config in programs.cava
This commit is contained in:
parent
7db00936a0
commit
0e2d5d093e
1 changed files with 10 additions and 8 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue