# Changing GDM \`gsettings\` declaratively

**URL:** https://discourse.nixos.org/t/changing-gdm-gsettings-declaratively/49579
**Category:** Help
**Created:** [July 24, 2024, 5:17pm UTC](https://discourse.nixos.org/t/changing-gdm-gsettings-declaratively/49579 "2024-07-24T17:17:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ElvishJerricco](https://discourse.nixos.org/user_avatar/discourse.nixos.org/elvishjerricco/32/984_2.png) [@ElvishJerricco](https://discourse.nixos.org/u/ElvishJerricco)
#### Post date: [July 24, 2024, 5:25pm UTC](https://discourse.nixos.org/t/changing-gdm-gsettings-declaratively/49579/2 "2024-07-24T17:25:37Z")

</div>

This is how I declaratively configure gnome:

```auto
  programs.dconf.profiles.user = {
    databases = [{
      lockAll = true;
      settings = {
        "org/gnome/desktop/interface" = {
          color-scheme = "prefer-dark";
          clock-format = "12h";
          clock-show-weekday = true;
        };
        "org/gnome/desktop/media-handling" = {
          automount = false;
          automount-open = false;
          autorun-never = true;
        };
        "org/gnome/settings-daemon/plugins/power" = {
          sleep-inactive-ac-type = "nothing";
        };
        "org/gnome/mutter" = {
          edge-tiling = true;
          dynamic-workspaces = true;
          experimental-features = ["variable-refresh-rate"];
        };
      };
    }];
  };

```

I _believe_ you can configure GDM with the same sort of thing, but with the `gdm` profile rather than the `user` profile.

---

_[View the full topic](https://discourse.nixos.org/t/changing-gdm-gsettings-declaratively/49579)._
