services.amdgpu.cards

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.

type

list of string

example

{
  services.amdgpu.cards = [
    "card0"
    "card1"
  ];
}

default

{
  services.amdgpu.cards = [
    "card0"
  ];
}

services.amdgpu.fan.enable

Whether to enable amdgpu-fan.

type

boolean

example

{
  services.amdgpu.fan.enable = true;
}

default

{
  services.amdgpu.fan.enable = false;
}

services.amdgpu.fan.package

type

package

default

{
  services.amdgpu.fan.package = "pkgs.amdgpu-fan";
}

services.amdgpu.fan.speedMatrix

A list of temperature-fan speed pairs. The temperature is specified in degrees celcius, and speed is specified in %.

type

list of list of signed integer

example

{
  services.amdgpu.fan.speedMatrix = [
    [
      0
      0
    ]
    [
      40
      30
    ]
    [
      60
      50
    ]
    [
      80
      100
    ]
  ];
}

default

{
  services.amdgpu.fan.speedMatrix = [
    [
      0
      0
    ]
    [
      30
      33
    ]
    [
      45
      50
    ]
    [
      60
      66
    ]
    [
      65
      69
    ]
    [
      70
      75
    ]
    [
      75
      89
    ]
    [
      80
      100
    ]
  ];
}

services.amdgpu.pwm.enable

Whether to enable amdgpu-pwm.

type

boolean

example

{
  services.amdgpu.pwm.enable = true;
}

default

{
  services.amdgpu.pwm.enable = false;
}

services.dunst.enable

Whether to enable dunst.

type

boolean

example

{
  services.dunst.enable = true;
}

default

{
  services.dunst.enable = false;
}

services.dunst.package

type

package

default

{
  services.dunst.package = {
    drvPath = "dunst-1.8.1";
    name = "dunst-1.8.1";
    outPath = "dunst-1.8.1";
    type = "derivation";
  };
}

services.dunst.configFile

Path to dunstrc configuration file.

type

null or path

default

{
  services.dunst.configFile = null;
}

services.dunst.settings

Configuration set alternative to configFile.

type

null or attribute set

example

{
  services.dunst.settings = {
    global = {
      follow = "none";
      monitor = 0;
    };
  };
}

default

{
  services.dunst.settings = null;
}

services.radeon-profile-daemon.enable

Whether to enable radeon-profile-daemon.

type

boolean

example

{
  services.radeon-profile-daemon.enable = true;
}

default

{
  services.radeon-profile-daemon.enable = false;
}

services.radeon-profile-daemon.package

type

package

default

{
  services.radeon-profile-daemon.package = "pkgs.radeon-profile-daemon";
}