summaryrefslogtreecommitdiff
path: root/modules/gnome/default.nix
blob: f0e7939fc6951dd032692ca1556c13767e4ead0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ config, lib, pkgs, ...}: with lib; {
  options.santi-modules.gnome.enable = mkEnableOption "Enable gnome";
  config = mkIf config.santi-modules.gnome.enable {
    programs.dconf.enable = true;
    environment.systemPackages = with pkgs; [
      gnome-tweaks
      tela-icon-theme
    ] ++ (with gnomeExtensions; [
      appindicator
      vitals
      user-themes
      graphite-gtk-theme
      x11-gestures
      gsconnect
    ]);
    
    environment.gnome.excludePackages = with pkgs; [
      gnome-photos
      gnome-tour
      gedit
      cheese
      gnome-terminal
      epiphany # web browser
      geary # email reader
      evince # document viewer
      totem # video player
      gnome-music
      gnome-characters
      tali # poker game
      iagno # go game
      hitori # sudoku game
      atomix # puzzle game
    ];
    services.xserver = {
      displayManager.gdm = {
        enable = true;
        wayland = false;
      };
      desktopManager.gnome.enable = true;
    };
    services.udev.packages = [ pkgs.gnome-settings-daemon ];
    services.gnome = {
      gnome-browser-connector.enable = true;
      gnome-keyring.enable = true;
    };
  };
}