summary refs log tree commit diff stats
path: root/modules/programs/gnome.nix
blob: bd7854532deb4c56945a54f6c6b90388a7184d2a (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
{ config, lib, pkgs, ... }:

with lib;
{ services = {
    gnome3 = {
      gnome-documents.enable = false;
      gnome-user-share.enable = false;
      gnome-online-accounts.enable = false;
      seahorse.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))}')]
        '';
      };
    };
  };
}