flocon/hosts/solaire/default.nix

49 lines
935 B
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
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"];
};
modules.nvidia.enable = true;
modules.gaming.enable = true;
modules.pipewire.latencyFix.enable = true;
stylix.image = ../../wallpapers/lucy-edgerunners-wallpaper.jpg;
}