diff --git a/modules/gnome.nix b/modules/gnome.nix new file mode 100644 index 0000000..6ed9935 --- /dev/null +++ b/modules/gnome.nix @@ -0,0 +1,34 @@ +{ config, lib, pkgs, nixos-unstable, inputs, ... }: +{ + # Enable the X11 windowing system. + services.xserver = { + enable = true; + xkb = { + layout = "us"; + variant = ""; + options = "caps_lock:esc"; + }; + # Enable the GNOME Desktop Environment. + desktopManager = { + xterm.enable = false; + gnome.enable = true; + }; + displayManager.gdm.enable = true; + }; + environment.gnome.excludePackages = with pkgs.gnome; [ + baobab + cheese + epiphany + eog + yelp + simple-scan + geary + gnome-calculator + gnome-calendar + gnome-weather + gnome-maps + gnome-contacts + pkgs.gnome-console + totem + ]; +}