summary refs log tree commit diff stats
path: root/system/settings/programs/gnome.nix
blob: 3ccac8640a881c587575b89b28ab3448b1c0965a (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
27
{
  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))}')]
        '';
      };
    };
  };
}