From 91cbaf9675cdaddcd9773d4a096a14d3043c9c1d Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Sat, 29 Apr 2023 20:25:20 +0200 Subject: [PATCH] Remove more bloat from Gnome --- nixos/modules/des/gnome/default.nix | 46 ++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/nixos/modules/des/gnome/default.nix b/nixos/modules/des/gnome/default.nix index 51b7305..02c05a1 100644 --- a/nixos/modules/des/gnome/default.nix +++ b/nixos/modules/des/gnome/default.nix @@ -1,21 +1,39 @@ { config, lib, pkgs, ... }: { - services.xserver = { - enable = true; + services.xserver = { + enable = true; + + # Enable the GNOME Desktop Environment. + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; - # Enable the GNOME Desktop Environment. - displayManager.gdm.enable = true; - desktopManager.gnome.enable = true; + excludePackages = with pkgs; [ + xterm + ]; + }; - }; + environment.systemPackages = with pkgs; [ + gnomeExtensions.launch-new-instance + ]; - environment.gnome.excludePackages = (with pkgs; [ - gnome-photos - gnome-tour - xterm - ]) ++ (with pkgs.gnome; [ - gedit - gnome-terminal - ]); + environment.gnome.excludePackages = (with pkgs; [ + epiphany # Web browser + gnome-console + gnome-photos + gnome-text-editor + gnome-tour + ]) ++ (with pkgs.gnome; [ + geary # Mail client + gedit + gnome-calendar + gnome-clocks + gnome-contacts + gnome-maps + gnome-music + gnome-weather + simple-scan + totem # Movie player + yelp # Help viewer + ]); }