Problem with configuration.nix and gnome3 settings

Hey guys!

I am currently trying to create a configuration.nix and add gnome3 settings to it, like enable and configure extensions, configure nautilus and so on…

But a lot of settings don’t work. For example adding desktop icons as favorites and enable extensions. I use the following:

services.xserver.desktopManager.gnome3.extraGSettingsOverrides = ''
    enabled-extensions=['', '']
    favorit-apps=['org.gnome.Nautilus.desktop', 'firefox.desktop', 'thunderbird.desktop', 'spotify.desktop', 'code.desktop', 'org.remmina.Remmina.desktop', 'org.gnome.Terminal.desktop']

But after installation of the system it is set to default (empty ). Same for a lot of other settings.

What am I doing wrong? Or is there another way?


Looks like you have a typo: favoritfavorite.

Also note that the overrides only affect the defaults so if you have already configured the options, you will need to reset them using dconf reset /org/gnome/shell/enabled-extensions so that the system can fall back to the default value.

This is getting documented in

For better configuration support we have to wait on nixos/dconf: Allow creating custom databases · Issue #54150 · NixOS/nixpkgs · GitHub, or use home-manager, which has dconf.settings option.


Thanks! Will give a try later on. But still enabled-extensions=['', ''] stays empty. Or other functions like:




I will have a look into home-manager too