Set keyboard repeat in gnome wayland with home manager

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?

dconf uses strongly typed GVariant system. When you use "uint32 175" in dconf.settings, home-manager will create a string value containing the contents of the Nix string.

For types that do not have a Nix equivalent, you will need to use constructors from home-manager library such as lib.hm.gvariant.mkUint32.

You can use dconf2nix to generate a Nix expression from your dconf database but note that the tool does not currently support all types (e.g. arrays).

This is what I have in my NixOS:

{
  home-manager.users.jtojnar = { lib, ... }: {
    dconf.settings = {
      "org/gnome/desktop/screensaver" = {
        lock-delay = lib.hm.gvariant.mkUint32 3600;
      };
    };
  };
}