1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 19:29:47 +01:00
home-manager/tests/modules/programs/cmus/cmus.nix
2024-12-06 12:19:59 +01:00

22 lines
336 B
Nix

{ ... }:
{
programs.cmus = {
enable = true;
theme = "gruvbox";
extraConfig = "test";
};
test.stubs.cmus = { };
nmt.script = ''
assertFileContent \
home-files/.config/cmus/rc \
${
builtins.toFile "cmus-expected-rc" ''
colorscheme gruvbox
test
''
}
'';
}