AMD GPU: Difference between revisions
added hardware.graphics option |
Correct Linux AMDGPU Controller section about the systemd unit for lact daemon Tags: Mobile edit Mobile web edit |
||
| Line 135: | Line 135: | ||
This application allows you to control your AMD GPU on a Linux system. | This application allows you to control your AMD GPU on a Linux system. | ||
In order to enable the daemon you need to add the package to | In order to enable the daemon you need to add the package to `environment.systemPackages` and enable the `lact` daemon: | ||
<syntaxhighlight lang="nix"> | |||
environment.systemPackages = with pkgs; [ | environment.systemPackages = with pkgs; [ | ||
lact | lact | ||
]; | ]; | ||
systemd.services.lactd = { | systemd.services.lactd = { | ||
enable = true; | description = "AMDGPU Control Daemon"; | ||
wantedBy = [ "multi-user.target" ]; | enable = true; | ||
serviceConfig = { | |||
ExecStart = "${pkgs.lact}/bin/lact daemon"; | |||
}; | |||
wantedBy = ["multi-user.target"]; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Video]] | [[Category:Video]] | ||