Fresh install with major issues - dealing with dbus,runtime path, systemd and sddm

Hey im loving nixos but nixos isnt loving me as much, I feel like im becoming a bother to the lovely people helping as im always asking for help. but usually these are big things I cant find info on or do myself. Anway today i think i found the issue with my system.

some persistant issues

I think they are all related and in hopes to just give you a better over head look at my current system. its a fresh install just a day old. only think i changed was added a channel. the unstable nixos but this was after these issues in hope they would fix it

  • dbus not connecting or unable to located
  • XDG runtime issue/not found or use
  • When rebooting always put into tty. SDDM wont start (it is in config)
  • Pipewire cant connect, i think dbus issue
  • echo PATH gives some interesting items such as locations in the store? with long hash names. I dont remember this being in there

My Files

configuration.nix # Do not modify this file! It was generated by ‘nixos-generate-config’# and m - Pastebin.com

Another thing I noticed when i echo PATH my path has nixos store locations with long hash names, I dont think thats suppose to happen

echo PATH

Environment PATH = '/nix/store/dsfcdjmymlc18wzk0hssycwifg4wznan-bash-inte
at /nix/store/32kvi5brfy9xpsphrvhcj1a85an65plw-findimagedupes-2.19.1/bin
…propagated at /nix/store/pccqzw1yqj422jhm64i2kzz2x7iv4qnd-perl
INIT failed–call queue aborted.

System info

Operating System: NixOS 22.11
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.15.110 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7600 CPU @ 3.50GHz
Memory: 31.3 GiB of RAM
Graphics Processor: llvmpipe
ECHO PATH

[nix-shell:~]$ echo $PATH
/nix/store/dsfcdjmymlc18wzk0hssycwifg4wznan-bash-interactive-5.1-p16/bin:pbk66kf43wrpdcijjzc8vf8cymnaxy-gzip-1.12/bin:/nix/store/r84vlmw71jw2piv03n0jdhav2zsdvm6n-bzip2-1.0.8-bin/bin:/nix/store/cgbpv0vvz31qayvbf3bif2iznp46wcgl-gnumake-4.3/bin:/nix/store/kga2r02rmyxl14sg96nxbdhifq3rb8lc-bash-5.1-p16/bin:/nix/store/f1gvh42512gjf3378nmlw2vrx491yndq-patch-2.7.6/bin:/nix/store/y8z2dmbxdapyzpcrhfbdv875l5v7ddpi-xz-5.2.7-bin/bin:/nix/store/cmnq5bja0h0an1k3cyb36blkfci8nxaf-file-5.43/bin:/run/wrappers/bin:/home/llama/.nix-profile/bin:/etc/profiles/per-user/llama/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin

and journalctl

https://pastebin.com/0NSW1JhA

here is my bootctl ’

System:
Firmware: UEFI 2.50 (American Megatrends 5.12)
Secure Boot: disabled (disabled)
TPM2 Support: no
Boot into FW: supported

Current Boot Loader:
Product: systemd-boot 251.16
Features: ✓ Boot counting
✓ Menu timeout control
✓ One-shot menu timeout control
✓ Default entry control
✓ One-shot entry control
✓ Support for XBOOTLDR partition
✓ Support for passing random seed to OS
✓ Load drop-in drivers
✓ Boot loader sets ESP information
ESP: /dev/disk/by-partuuid/c42b8c03-f000-7d47-9591-9c691a8f446a
File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

Random Seed:
Passed to OS: yes
System Token: set
Exists: yes

Available Boot Loaders on ESP:
ESP: /boot/efi (/dev/disk/by-partuuid/c42b8c03-f000-7d47-9591-9c691a8f446a)
File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 251.16)
File: └─/EFI/BOOT/BOOTX64.EFI (systemd-boot 251.16)

Boot Loaders Listed in EFI Variables:
Title: Linux Boot Manager
ID: 0x000D
Status: active, boot-order
Partition: /dev/disk/by-partuuid/c42b8c03-f000-7d47-9591-9c691a8f446a
File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

    Title: UEFI OS
       ID: 0x0029
   Status: active, boot-order
Partition: /dev/disk/by-partuuid/c42b8c03-f000-7d47-9591-9c691a8f446a
     File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loader Entries:
$BOOT: /boot/efi (/dev/disk/by-partuuid/c42b8c03-f000-7d47-9591-9c691a8f446a)

Default Boot Loader Entry:
type: Boot Loader Specification Type #1 (.conf)
title: NixOS (Generation 6 NixOS 22.11.4203.d41eea2839d, Linux Kernel 5.15.110, Built on 2023-05-20)
id: nixos-generation-6.conf
source: /boot/efi/loader/entries/nixos-generation-6.conf
version: Generation 6 NixOS 22.11.4203.d41eea2839d, Linux Kernel 5.15.110, Built on 2023-05-20
machine-id: e56cb537446849979ae5a35da1da5629
linux: /efi/nixos/fxm9nc2frpsvb1fjzbck0w2jkbkakm3n-linux-5.15.110-bzImage.efi
initrd: /efi/nixos/v9k9vagkwhd7mry68nd2xmryrlxr3grj-initrd-linux-5.15.110-initrd.efi
options: init=/nix/store/6hxm7xmsf53sy3mylqk4qwzzyalhlplc-nixos-system-nixos-22.11.4203.d41eea2839d/init loglevel=4
0:

I suggest you get started with a proper graphical environment and take it from there:

https://nixos.wiki/wiki/KDE

since my post i have been reading a ton and going over these logs. i found many things that were causing me trouble. as in the wrong driver being used to . also I installed missing software and changed my config . got everything mostly working well. just trying to iron out some PATH issues.
like this
[nix-shell:/etc/nixos]$ nix-instantiate --eval -E ‘’
error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)

I cant seem to find online a straight answer to adding to the path, the error says to use nix path but that doesnt help much

Your command got mangled, please use backticks to properly mark code segments as such:

You can use single backticks to mark `inline code segments`, or use tripple
for code blocks (can even have language hints):

```text
$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.3.0, NixOS, 23.05 (Stoat), 23.05.20230518.48a0fb7`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.16.0pre20230518_b1c34c0`
 - channels(aroemer): `"nixpkgs-21.11"`
 - channels(nmelzer): `""`
 - channels(root): `""`
 - nixpkgs: `/etc/nixpkgs/channels/nixpkgs`
```
1 Like

Please post your entire configuration. You’ve only posted your hardware-configuration which doesn’t tell us much.

Are you inside a nix-shell, nix run or the like?

That’s almost certainly wrong. If your desktop ain’t working, the solution is not adding some package to systemPackages in your config.