diff options
Diffstat (limited to 'modules/gnome/default.nix')
-rw-r--r-- | modules/gnome/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/modules/gnome/default.nix b/modules/gnome/default.nix new file mode 100644 index 0000000..f0e7939 --- /dev/null +++ b/modules/gnome/default.nix @@ -0,0 +1,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; + }; + }; +} |