summary refs log tree commit diff stats
path: root/system/settings/programs/gnome.nix
blob: f9618009a6fb1954a60a49325092ba5f8b18626b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ config
, lib
, pkgs
, ...
}:
with lib; {
  services = {
    gnome3 = {
      gnome-documents.enable = false;
      gnome-user-share.enable = false;
      gnome-online-accounts.enable = false;
      tracker.enable = false;
    };
    telepathy.enable = false;

    xserver = {
      desktopManager.gnome3 = {
        enable = true;
        extraGSettingsOverrides = ''
          [org.gnome.desktop.input-sources]
          sources=[('xkb','${config.services.xserver.layout + (optionalString (config.services.xserver.xkbVariant != "") ("+" + config.services.xserver.xkbVariant))}')]
        '';
      };
    };
  };
}