move gnome into its own file which is good and stuff

This commit is contained in:
Miranda Marquez 2024-04-17 21:10:36 -08:00
parent b7862c38c8
commit 809dd99352

34
modules/gnome.nix Normal file
View File

@ -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
];
}