gnome-shell: Fix default WM settings

gnome-shell contains GSettings schema overrides for Mutter.
Since we do not have global FHS path for schemas, we compile schemas
locally per package and overrides for another package have no effect.
As a workaround, let’s copy the the Mutter schema here so it ends up
being included in gnome-shell’s `gschemas.compiled`.

This also has an effect on `gnome.nixos-gsettings-overrides`,
which pulls in schemas and overrides from `gnome-shell`.

Jan Tojnar 4365016f 988b7cb3

+7
+7
pkgs/by-name/gn/gnome-shell/package.nix
··· 190 rm data/theme/gnome-shell-{light,dark}.css 191 ''; 192 193 postInstall = '' 194 # Pull in WebP and JXL support for gnome-backgrounds. 195 # In postInstall to run before gappsWrapperArgsHook.
··· 190 rm data/theme/gnome-shell-{light,dark}.css 191 ''; 192 193 + preInstall = '' 194 + # gnome-shell contains GSettings schema overrides for Mutter. 195 + schemadir="$out/share/glib-2.0/schemas" 196 + mkdir -p "$schemadir" 197 + cp "${glib.getSchemaPath mutter}/org.gnome.mutter.gschema.xml" "$schemadir" 198 + ''; 199 + 200 postInstall = '' 201 # Pull in WebP and JXL support for gnome-backgrounds. 202 # In postInstall to run before gappsWrapperArgsHook.