Anthony Rodriguez
8fe0604299
Refactored the entire repository structure, as putting everything into modules was just awkward. Took heavy inspiration from fufexan's repository, fufexan/dotfiles, as the structure felt much saner.
37 lines
700 B
Nix
37 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"];
|
|
};
|
|
}
|