Since my original post, I went ahead an translated my entire hyprland.conf into nix syntax for the home-manager module. I found that the device settings still don’t work when deployed in the settings
block of the module, however if I put them in the extraConfig
block they finally start working. Here is a snippet of my extraConfig
module in relation to the top-level wayland.windowManager.hyprland
syntax in case helpful:
wayland.windowManager.hyprland = {
enable = true;
settings = {
"$mod" = "Alt";
more settings blah, blah ....
};
extraConfig = ''
device {
name=razer-proclickm
sensitivity=-0.5
}
device {
name=razer-proclickm-1
sensitivity=-0.5
}
'';
I found that sometimes my mouse shows up under two different names identified by hyprctl devices
when plugged/unplugged, so that is why I put both names in the device
section since it seems to be random which one it chooses on an unplug/plug cycle…