gdm: set run-dir to prevent erroneous creation of /var/run as directory if it does not exist

closes #432251

The failure occured because:
1. Root directory has wrong permissions
2. systemd-tmpfiles does not produce necessary symlinks because of that (#432261 gets created first)
3. **gdm creates a directory as a fallback**
4. various services (such as nsncd) fail on startup

Fixing the root directory permissions later does not fix this,
because `systemd-tmpfiles` will not replace an existing directory.

Removing the erroneous `/var/run` directory on a running system does
not fix this, as gdm will recreate the directory on shutdown.

Grimmauld a75b0b38 7182ad97

+1
+1
pkgs/by-name/gd/gdm/package.nix
··· 65 "-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user" 66 "--sysconfdir=/etc" 67 "--localstatedir=/var" 68 ]; 69 70 nativeBuildInputs = [
··· 65 "-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user" 66 "--sysconfdir=/etc" 67 "--localstatedir=/var" 68 + (lib.mesonOption "run-dir" "/run/gdm") 69 ]; 70 71 nativeBuildInputs = [