updated
This commit is contained in:
parent
bf03f98a7d
commit
a7c8007c73
4 changed files with 56 additions and 26 deletions
|
|
@ -3,20 +3,12 @@
|
|||
enable = true;
|
||||
package = pkgs.openrgb-with-all-plugins;
|
||||
motherboard = "amd";
|
||||
server.port = 6742;
|
||||
};
|
||||
|
||||
services.udev.packages = [pkgs.openrgb];
|
||||
boot.kernelModules = ["i2c-dev"];
|
||||
hardware.i2c.enable = true;
|
||||
environment.systemPackages = [pkgs.openrgb-with-all-plugins];
|
||||
services.udev.packages = [pkgs.openrgb-with-all-plugins];
|
||||
boot.kernelModules = ["i2c-dev" "i2c-piix4"];
|
||||
users.groups.i2c.members = ["cobray"];
|
||||
|
||||
systemd.services.openrgb-server = {
|
||||
description = "OpenRGB Network Server";
|
||||
after = ["network.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.openrgb-with-all-plugins}/bin/openrgb --server";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
systemd.services.openrgb.serviceConfig.Environment = "QT_QPA_PLATFORM=offscreen";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue