gnome.nix 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. { config, lib, pkgs, ... }:
  2. with lib;
  3. {
  4. config = mkIf (config.roles.desktop == "gnome") {
  5. services = {
  6. displayManager.defaultSession = "gnome";
  7. xserver = {
  8. desktopManager.gnome = {
  9. enable = true;
  10. sessionPath = (with pkgs; [
  11. adw-gtk3
  12. ]) ++ (with pkgs.gnomeExtensions; [
  13. alphabetical-app-grid
  14. bing-wallpaper-changer
  15. caffeine
  16. ]);
  17. };
  18. displayManager.gdm = {
  19. enable = true;
  20. autoSuspend = false;
  21. wayland = true;
  22. };
  23. };
  24. };
  25. qt = {
  26. enable = true;
  27. platformTheme = "gnome";
  28. style = "adwaita-dark";
  29. };
  30. environment.gnome.excludePackages = with pkgs; [
  31. at-spi2-atk
  32. at-spi2-core
  33. gnome-connections
  34. gnome-console
  35. gnome-photos
  36. gnome-tour
  37. baobab
  38. epiphany
  39. evolution-data-server
  40. gnome-contacts
  41. gnome-font-viewer
  42. gnome-maps
  43. gnome-music
  44. gnome-software
  45. rygel
  46. simple-scan
  47. totem
  48. yelp
  49. ];
  50. };
  51. }