1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 07:09:45 +01:00
home-manager/tests/modules/programs/cava/cava-basic-configuration.nix
2024-04-10 21:26:31 +02:00

25 lines
518 B
Nix

{ config, pkgs, ... }:
{
programs.cava = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = {
general.framerate = 30;
input.source = "alsa";
smoothing.noise_reduction = 65;
color = {
background = "'#000000'";
foreground = "'#ffffff'";
};
};
};
nmt.script = ''
configFile=home-files/.config/cava/config
assertFileExists $configFile
assertFileContent $configFile ${./cava-basic-configuration-expected.ini}
'';
}