diff options
author | Alan Pearce | 2017-09-13 15:56:58 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-13 15:56:58 +0200 |
commit | 7db05c60364d3d6be69b243e0c43272b36e6ffa0 (patch) | |
tree | 13a67d26aed50672df9e236ac833b5b3464bdfb9 /modules | |
parent | 52b72d494d3090418202043f05ca87e9e82b75dd (diff) | |
download | nixfiles-7db05c60364d3d6be69b243e0c43272b36e6ffa0.tar.lz nixfiles-7db05c60364d3d6be69b243e0c43272b36e6ffa0.tar.zst nixfiles-7db05c60364d3d6be69b243e0c43272b36e6ffa0.zip |
Add gnome module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gnome.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/gnome.nix b/modules/gnome.nix new file mode 100644 index 00000000..bd785453 --- /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))}')] + ''; + }; + }; + }; +} |