I’m trying to set the keyboard delay and repeat rate with home manager and dconf for gnome…
dconf.settings = {
"org/gnome/desktop/peripherals/keyboard" = {
delay = 175;
repeat-interval = 18;
repeat = true;
};
};
Which produces the following from dconf dump
❯ dconf dump /org/gnome/desktop/peripherals/keyboard/
[/]
delay=175
numlock-state=false
repeat=true
repeat-interval=18
However when set correctly by dconf-editor it looks like this:
[/]
delay=uint32 175
numlock-state=false
repeat=true
repeat-interval=uint32 18
And using strings in nixos like this
"org/gnome/desktop/peripherals/keyboard" = {
delay = "uint32 175";
repeat-interval = "uint32 18";
repeat = true;
};
gives the following:
[/]
delay='uint32 175'
numlock-state=false
repeat=true
repeat-interval='uint32 18'
Which doesn’t work presumably because of the quotes in the output
How can i get nix to produce the correct output?