···1010 libgbm,
1111 pipewire,
1212 gst_all_1,
1313+ cosmic-wallpapers,
1314 coreutils,
1415 nix-update-script,
1516 nixosTests,
···5960 })
6061 ];
61626262- # Also modifies the functionality by replacing 'false' with 'true' to enable the portal to start properly.
6363 postPatch = ''
6464+ # While the `kate-hazen-COSMIC-desktop-wallpaper.png` image is present
6565+ # in the `pop-wallpapers` package, we're using the Orion Nebula image
6666+ # from NASA available in the `cosmic-wallpapers` package. Mainly because
6767+ # the previous image was used in the GNOME shell extension and the
6868+ # Orion Nebula image is widely used in the Rust-based COSMIC DE's
6969+ # marketing materials. Another reason to use the Orion Nebula image
7070+ # is that it's actually the default wallpaper as configured by the
7171+ # `cosmic-bg` package's configuration in upstream [1] [2].
7272+ #
7373+ # [1]: https://github.com/pop-os/cosmic-bg/blob/epoch-1.0.0-alpha.6/config/src/lib.rs#L142
7474+ # [2]: https://github.com/pop-os/cosmic-bg/blob/epoch-1.0.0-alpha.6/data/v1/all#L3
7575+ substituteInPlace src/screenshot.rs src/widget/screenshot.rs \
7676+ --replace-fail '/usr/share/backgrounds/pop/kate-hazen-COSMIC-desktop-wallpaper.png' '${cosmic-wallpapers}/share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg'
7777+7878+ # Also modifies the functionality by replacing 'false' with 'true' to enable the portal to start properly.
6479 substituteInPlace data/org.freedesktop.impl.portal.desktop.cosmic.service \
6580 --replace-fail 'Exec=/bin/false' 'Exec=${lib.getExe' coreutils "true"}'
6681 '';