mirror of
https://github.com/nix-community/home-manager
synced 2025-01-06 00:59:48 +01:00
mpv: allow string values in scripts list
Fixes #976
(cherry picked from commit 297ed97166
)
This commit is contained in:
parent
8d663335eb
commit
f5c9303ced
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ in {
|
|||
enable = mkEnableOption "mpv";
|
||||
|
||||
scripts = mkOption {
|
||||
type = types.listOf types.package;
|
||||
type = with types; listOf (either package str);
|
||||
default = [];
|
||||
example = literalExample "[ pkgs.mpvScripts.mpris ]";
|
||||
description = ''
|
||||
|
|
Loading…
Reference in a new issue