2.home-manager/tests/modules/programs/mpv/mpv-invalid-settings.nix
Bruno BELANYI ccd5351436 tests: mpv: refactor stubs definition
I am about to introduce more tests making use of the stubs, let's
centralize them in one file.
2026-02-26 21:39:23 -06:00

18 lines
298 B
Nix

{
pkgs,
...
}:
{
imports = [ ./stubs.nix ];
programs.mpv = {
enable = true;
package = pkgs.emptyDirectory;
scripts = [ pkgs.mpvScript ];
};
test.asserts.assertions.expected = [
''The programs.mpv "package" option is mutually exclusive with "scripts" option.''
];
}