Searching basic but working 24.05 Plasma6 config file

I did try plasma6 initially, it looked much worse than plasma5. sometimes no login at all, sometimes login worked but got empty panels with no launcher. (for details, see posts from a few days ago)

I’ve now switched to unstable (using flakes + home-manager) but see the same problems:

plasma5 shows a desktop when using x11 (wayland doesn’t work), but I can’t even change the desktop’s background color without making it crash.

plasma6 also doesn’t work at all with wayland. Using X11 I can get a session but without panels or a desktop. I can open a terminal with strg+alt+t and dolphin with windows+e, but must stuff doesn’t work at all. Like if I try to open “systemsettings” from a terminal window, it immediately crashes:

ser@LenovoP16vnixos:~]$ systemsettings 
kf.coreaddons: The plugin "/nix/store/bm8s050r1dip2kmm7dz6rn7d0iiviasa-kio-5.116.0/lib/qt-5.15.14/plugins/plasma/kcms/systemsettings/kcm_smb.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed
kf.coreaddons: The plugin "/nix/store/bm8s050r1dip2kmm7dz6rn7d0iiviasa-kio-5.116.0/lib/qt-5.15.14/plugins/plasma/kcms/systemsettings_qwidgets/kcm_cookies.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed
kf.coreaddons: The plugin "/nix/store/bm8s050r1dip2kmm7dz6rn7d0iiviasa-kio-5.116.0/lib/qt-5.15.14/plugins/plasma/kcms/systemsettings_qwidgets/kcm_netpref.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed
kf.coreaddons: The plugin "/nix/store/bm8s050r1dip2kmm7dz6rn7d0iiviasa-kio-5.116.0/lib/qt-5.15.14/plugins/plasma/kcms/systemsettings_qwidgets/kcm_proxy.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed
kf.coreaddons: The plugin "/nix/store/bm8s050r1dip2kmm7dz6rn7d0iiviasa-kio-5.116.0/lib/qt-5.15.14/plugins/plasma/kcms/systemsettings_qwidgets/kcm_webshortcuts.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed
QQmlComponent: Component is not ready
"qrc:/qt/qml/org/kde/systemsettings/Main.qml:25:5: Type SideBarItem unavailable"
"qrc:/qt/qml/org/kde/systemsettings/SideBarItem.qml:12:1: Type Kirigami.ApplicationItem unavailable"
"file:///nix/store/q5jjnsahjazlcq9jgds3pl6xi4rqzasn-kirigami-6.4.0/lib/qt-6/qml/org/kde/kirigami/ApplicationItem.qml:75:1: Type Kirigami.AbstractApplicationItem unavailable"
"file:///nix/store/q5jjnsahjazlcq9jgds3pl6xi4rqzasn-kirigami-6.4.0/lib/qt-6/qml/org/kde/kirigami/AbstractApplicationItem.qml:107:5: Type KT.AbstractApplicationHeader unavailable"
"file:///nix/store/q5jjnsahjazlcq9jgds3pl6xi4rqzasn-kirigami-6.4.0/lib/qt-6/qml/org/kde/kirigami/templates/AbstractApplicationHeader.qml: module \"adwaita-dark\" is not installed"
Fatal error while loading the sidebar view qml component
KCrash: Application '.systemsettings-wrapped' crashing... crashRecursionCounter = 2
Aborted (core dumped)

Crash-Handler window:

Application: System Settings (), signal: Aborted

[New LWP 29138]
[New LWP 29140]
[New LWP 29149]
[New LWP 29152]
[New LWP 29153]
[New LWP 29150]
[New LWP 29146]
[New LWP 29151]
[New LWP 29142]
[New LWP 29143]
[New LWP 29141]
[New LWP 29145]
[New LWP 29139]
[New LWP 29144]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libthread_db.so.1".
Core was generated by `systemsettings'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f7938e9b7dc in __pthread_kill_implementation () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
[Current thread is 1 (Thread 0x7f7933d20440 (LWP 29138))]
To enable execution of this file add
	add-auto-load-safe-path /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libgobject-2.0.so.0.8000.4-gdb.py
line to your configuration file "/home/user/.config/gdb/gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/user/.config/gdb/gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
Cannot QML trace cores :(
Unexpectedly stumbled over an objfile (/nix/store/s9lw0cmjysqdmd37lzz4crb9mfr40bpp-qtdeclarative-6.7.2/lib/libQt6QuickTemplates2.so.6.7.2) without build_id. Not creating payload.
[Current thread is 1 (Thread 0x7f7933d20440 (LWP 29138))]

Thread 14 (Thread 0x7f792b7fe6c0 (LWP 29144)):
#0  0x00007f7938f0ad1f in poll () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793763d21f in g_main_context_iterate_unlocked.isra () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#2  0x00007f793763dbcf in g_main_loop_run () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#3  0x00007f79342958e6 in gdbus_shared_thread_func () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libgio-2.0.so.0
#4  0x00007f793766c0ad in g_thread_proxy () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 13 (Thread 0x7f79337ff6c0 (LWP 29139)):
#0  0x00007f7938f0ad1f in poll () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793763d21f in g_main_context_iterate_unlocked.isra () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#2  0x00007f793763d8ec in g_main_context_iteration () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#3  0x00007f793986347c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#4  0x00007f7939592d33 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f79396a0245 in QThread::exec() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#6  0x00007f793af6dc6a in QDBusConnectionManager::run() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6DBus.so.6
#7  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#8  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#9  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 12 (Thread 0x7f79288be6c0 (LWP 29145)):
#0  0x00007f7938e960ce in __futex_abstimed_wait_common () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f7938e98c20 in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#2  0x00007f7928d27e39 in cnd_wait () from /run/opengl-driver/lib/dri/iris_dri.so
#3  0x00007f7928d0631b in util_queue_thread_func () from /run/opengl-driver/lib/dri/iris_dri.so
#4  0x00007f7928d27d67 in impl_thrd_routine () from /run/opengl-driver/lib/dri/iris_dri.so
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 11 (Thread 0x7f79314186c0 (LWP 29141)):
#0  0x00007f7938f16ded in syscall () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793769b450 in g_cond_wait () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#2  0x00007f793760465b in g_async_queue_pop_intern_unlocked () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#3  0x00007f793766c8a2 in g_thread_pool_spawn_thread () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#4  0x00007f793766c0ad in g_thread_proxy () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 10 (Thread 0x7f792bfff6c0 (LWP 29143)):
#0  0x00007f7938f0ad1f in poll () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793763d21f in g_main_context_iterate_unlocked.isra () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#2  0x00007f793763d8ec in g_main_context_iteration () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#3  0x00007f7931425d9d in dconf_gdbus_worker_thread () from /nix/store/xj09bp6qdnf5aswgw9wpjcx2n9267ggp-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
#4  0x00007f793766c0ad in g_thread_proxy () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 9 (Thread 0x7f7930c176c0 (LWP 29142)):
#0  0x00007f7938f0ad1f in poll () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793763d21f in g_main_context_iterate_unlocked.isra () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#2  0x00007f793763d8ec in g_main_context_iteration () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#3  0x00007f793763d941 in glib_worker_main () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#4  0x00007f793766c0ad in g_thread_proxy () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 8 (Thread 0x7f79167736c0 (LWP 29151)):
#0  0x00007f7938e960ce in __futex_abstimed_wait_common () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f7938e98f45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#2  0x00007f7939748b73 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#3  0x00007f79397457a2 in QThreadPoolThread::run() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#4  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 7 (Thread 0x7f7917fff6c0 (LWP 29146)):
#0  0x00007f7938e960ce in __futex_abstimed_wait_common () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f7938e98c20 in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#2  0x00007f7928d27e39 in cnd_wait () from /run/opengl-driver/lib/dri/iris_dri.so
#3  0x00007f7928d0631b in util_queue_thread_func () from /run/opengl-driver/lib/dri/iris_dri.so
#4  0x00007f7928d27d67 in impl_thrd_routine () from /run/opengl-driver/lib/dri/iris_dri.so
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 6 (Thread 0x7f7916ffd6c0 (LWP 29150)):
#0  0x00007f7938e960ce in __futex_abstimed_wait_common () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f7938e98f45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#2  0x00007f7939748b73 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#3  0x00007f79397457a2 in QThreadPoolThread::run() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#4  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 5 (Thread 0x7f79157716c0 (LWP 29153)):
#0  0x00007f7938f0ad1f in poll () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793763d21f in g_main_context_iterate_unlocked.isra () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#2  0x00007f793763d8ec in g_main_context_iteration () from /nix/store/ff27cfibl0sihkvkzs82wizjks4sywp2-glib-2.80.4/lib/libglib-2.0.so.0
#3  0x00007f793986347c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#4  0x00007f7939592d33 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f79396a0245 in QThread::exec() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#6  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#7  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#8  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 4 (Thread 0x7f7915f726c0 (LWP 29152)):
#0  0x00007f7938e960ce in __futex_abstimed_wait_common () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f7938e98f45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#2  0x00007f7939748b73 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#3  0x00007f79397457a2 in QThreadPoolThread::run() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#4  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 3 (Thread 0x7f79177fe6c0 (LWP 29149)):
#0  0x00007f7938e960ce in __futex_abstimed_wait_common () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f7938e98f45 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#2  0x00007f7939748b73 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#3  0x00007f79397457a2 in QThreadPoolThread::run() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#4  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 2 (Thread 0x7f7932ffe6c0 (LWP 29140)):
#0  0x00007f7938f0ad1f in poll () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#1  0x00007f793ae2adaa in _xcb_conn_wait () from /nix/store/cp4bas285jiglfch3nxbmzv44cyq53ap-libxcb-1.17.0/lib/libxcb.so.1
#2  0x00007f793ae2d22a in xcb_wait_for_event () from /nix/store/cp4bas285jiglfch3nxbmzv44cyq53ap-libxcb-1.17.0/lib/libxcb.so.1
#3  0x00007f7933ca1920 in QXcbEventQueue::run() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/qt-6/plugins/platforms/../../../libQt6XcbQpa.so.6
#4  0x00007f793973bf91 in QThreadPrivate::start(void*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#5  0x00007f7938e99a42 in start_thread () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938f1905c in clone3 () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6

Thread 1 (Thread 0x7f7933d20440 (LWP 29138)):
[KCrash Handler]
#4  0x00007f7938e9b7dc in __pthread_kill_implementation () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#5  0x00007f7938e49516 in raise () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#6  0x00007f7938e31935 in abort () from /nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libc.so.6
#7  0x00007f79394c2cac in qAbort() () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#8  0x00007f793950c7b6 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#9  0x00007f79394c3b39 in QMessageLogger::fatal(char const*, ...) const () from /nix/store/4i0il6mk73bkqd006fvcgznvbdx96659-qtbase-6.7.2/lib/libQt6Core.so.6
#10 0x0000000000416fbb in SidebarMode::initWidget() [clone .cold] ()
#11 0x0000000000427171 in SidebarMode::mainWidget() ()
#12 0x000000000041f8f9 in SettingsBase::loadCurrentView() ()
#13 0x0000000000421743 in SettingsBase::initApplication() ()
#14 0x0000000000417c9d in main ()

And the journal of the current boot (=plasma6):
https://bpaste.net/4NQA

now I’ve tried gnome, which looks like it’s working fine. With wayland. I haven’t used gnome for decades and am missing a lot of KDE features I rely on but I can’t see anything obviously broken.

So my problems seems to be specific to the combination of NixOS + Plasma (both 5&6) + my current laptop (Lenovo ThinkPad P16v Gen1).

NixOS with other desktops works on my laptop, and KDE Plasma works on my laptop using other distributions (have Manjaro running mostly fine, much better than NixOS+Plasma, only some non-desktop related problems).

Now I’m on a Cinnamon X11 session, which I prefer when it’s this or Gnome, but I’d still much prefer Plasma.

The Cinnamon Wayland session works too, but displays a “Desktop” window in the task-bar and has a completely transparent terminal window, so the X11 Cinnamon session seems preferable to me.

Right now I have the problem that in this Cinnamon X11 session doesn’t support selectin different scaling for internal and external monitor.

Maybe this is not a popular opinion, but I had a similar issue with Plasma 6 not working. I downloaded the latest ISO and reinstalled with Plasma Wayland just to see if it worked. Then recreated my flake around the new configuration.nix/hardware.nix that the latest ISO created. Eventually I added the rest of the config from my previous flake but very carefully. I’m not sure what was breaking Plasma 6, but I think I had to remove anything relating to X11 or any apps that depend on X11. The other issue you may be facing is that Plasma 5 and 6 create different configs in your home directory, when you rebuild with different versions, they both look at the same configs. 6 probably adds things that break 5 and vice versa.

1 Like