2024-10-11 23:27:07 +03:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.module.desktop.gnome;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
module.desktop.gnome.enable = mkEnableOption "Enable GnOmE";
|
|
|
|
};
|
2024-06-25 04:04:39 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
module.desktop = {
|
|
|
|
dm.enable = true;
|
|
|
|
sound.enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
};
|
2024-06-25 04:04:39 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
2024-06-25 04:04:39 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
gnome.gnome-tweaks # Gnome "hidden" settings.
|
|
|
|
openssl # It was needed for something, can't remember.
|
|
|
|
];
|
2024-06-25 04:04:39 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Disable some Gnome apps.
|
|
|
|
services.gnome.gnome-keyring.enable = 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.
|
2024-06-25 04:04:39 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# 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
|
|
|
|
];
|
|
|
|
};
|
2024-06-25 04:04:39 +03:00
|
|
|
}
|