2020-10-17 11:59:01 +11:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
options.services.amdgpu = {
|
|
|
|
cards = mkOption {
|
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [ "card0" ];
|
2021-11-13 19:15:05 +11:00
|
|
|
example = [ "card0" "card1" ];
|
2020-10-17 11:59:01 +11:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|