modules: remove deprecated literalExample

This commit is contained in:
2021-11-13 19:15:05 +11:00
parent 6d3581ac49
commit f5adcca761
3 changed files with 13 additions and 18 deletions

View File

@ -7,7 +7,7 @@ with lib;
cards = mkOption {
type = types.listOf types.str;
default = [ "card0" ];
example = literalExample ''[ "card0" ]'';
example = [ "card0" "card1" ];
description = ''
A list of cards to enable fan configuration for. The identifiers for
each device can be found in /sys/class/drm/ as card0, card1, etc.