The underlying problem is that I want to disable “Force Wait” gnome timeout option as described in the reddit comment
“gsettings set org.gnome.mutter check-alive-timeout 0”
I tried 2 changes, but both do not seem to have the effect. The configuration builds fine though.
311 programs.dconf.profiles.user = {
312 databases = [{
313 settings = {
314 "org/gnome/desktop/interface" = {
315 color-scheme = "prefer-dark";
316 clock-format = "12h";
317 clock-show-weekday = true;
318 };
319 "org/gnome/mutter" = {
320 check-alive-timeout = lib.gvariant.mkInt32 60000;
321 };
322 };
323 }];
324 };
325 services.xserver.desktopManager.gnome.extraGSettingsOverrides = ''
326 [org.gnome.mutter]
327 check-alive-timeout=60000
328 '';