gnome.nix 453 B

12345678910111213141516
  1. _: prev: rec {
  2. gnome = prev.gnome.overrideScope' (_: prev': {
  3. gnome-session = prev'.gnome-session.overrideAttrs {
  4. passthru.providedSessions = [ "gnome" ];
  5. postFixup = ''
  6. rm -rf "${placeholder "sessions"}"/share/xsessions
  7. '';
  8. };
  9. nautilus = prev'.nautilus.overrideAttrs (old: {
  10. preFixup = old.preFixup + ''
  11. gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${gnome.totem}/share")
  12. '';
  13. });
  14. });
  15. }