59 lines
1.3 KiB
Nix
59 lines
1.3 KiB
Nix
# This is pretty much abandoned module. I keep it just in case.
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.module.gnome;
|
|
in {
|
|
config = lib.mkIf cfg.enable {
|
|
module = {
|
|
dm.enable = true;
|
|
sound.enable = true;
|
|
wayland.enable = true;
|
|
};
|
|
|
|
services.xserver = {
|
|
displayManager.gdm.enable = true;
|
|
desktopManager.gnome.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gnome.gnome-tweaks # Gnome "hidden" settings.
|
|
openssl # It was needed for something, can't remember.
|
|
];
|
|
|
|
# Disable some Gnome apps.
|
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
|
environment.gnome.excludePackages = with pkgs.gnome; [
|
|
# baobab # Disk usage analyzer.
|
|
# cheese # Photo booth.
|
|
# epiphany # Web browser.
|
|
# simple-scan # Document scanner.
|
|
# totem # Video player.
|
|
# yelp # Help viewer.
|
|
# file-roller # Archive manager.
|
|
# geary # Email client.
|
|
# seahorse # Password manager.
|
|
|
|
# gnome-calculator
|
|
# gnome-calendar
|
|
# gnome-characters
|
|
# gnome-clocks
|
|
# gnome-contacts
|
|
# gnome-font-viewer
|
|
# gnome-keyring
|
|
# gnome-logs
|
|
# gnome-maps
|
|
# gnome-music
|
|
# gnome-shell-extensions
|
|
gnome-software
|
|
# gnome-system-monitor
|
|
# gnome-weather
|
|
# gnome-disk-utility
|
|
# pkgs.gnome-text-editor
|
|
];
|
|
};
|
|
}
|