From 809dd99352a74cf579c1cf583661201029edc7d2 Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Wed, 17 Apr 2024 21:10:36 -0800 Subject: [PATCH] move gnome into its own file which is good and stuff --- modules/gnome.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/gnome.nix 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 + ]; +}