From 7db05c60364d3d6be69b243e0c43272b36e6ffa0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 13 Sep 2017 15:56:58 +0200 Subject: Add gnome module --- modules/gnome.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/gnome.nix diff --git a/modules/gnome.nix b/modules/gnome.nix new file mode 100644 index 0000000..bd78545 --- /dev/null +++ b/modules/gnome.nix @@ -0,0 +1,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))}')] + ''; + }; + }; + }; +} -- cgit 1.4.1