38 lines
700 B
Nix
38 lines
700 B
Nix
|
{pkgs, ...}: {
|
||
|
hardware.uni-sync = {
|
||
|
enable = true;
|
||
|
devices = [
|
||
|
{
|
||
|
device_id = "VID:3314/PID:41218/SN:6243168001";
|
||
|
sync_rgb = true;
|
||
|
channels = [
|
||
|
{
|
||
|
mode = "Manual";
|
||
|
speed = 60;
|
||
|
}
|
||
|
{
|
||
|
mode = "Manual";
|
||
|
speed = 60;
|
||
|
}
|
||
|
{
|
||
|
mode = "Manual";
|
||
|
speed = 60;
|
||
|
}
|
||
|
{
|
||
|
mode = "Manual";
|
||
|
speed = 60;
|
||
|
}
|
||
|
];
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
|
||
|
systemd.services.uni-sync = {
|
||
|
enable = true;
|
||
|
serviceConfig = {
|
||
|
ExecStart = "${pkgs.uni-sync}/bin/uni-sync";
|
||
|
};
|
||
|
wantedBy = ["multi-user.target"];
|
||
|
};
|
||
|
}
|