fastfetch
fastfetch copied to clipboard
[BUG] Check under `/etc/profiles/` for nix-user packages
Read the FAQ first
- [x] I have checked the FAQ but the issue is not covered
Description
When Home Manager is used as a NixOS module^1 and home-manager.useUserPackages = true; is set in the NixOS config, packages are installed in /etc/profiles (well, /etc/profiles/per-user/$USER) rather than $HOME/.nix-profile. So fastfetch currently only shows nix-system packages count for me.
(PS: I've redacted a little bit personal info in the "System information" section, but it's shouldn't be relevant to this issue)
Version used
fastfetch 2.44.0 (x86_64)
Bug prevalence
Always
Regression
No
Installation
Package manager
Package manager
Nix
Screenshots
Only nix-system packages are shown:
Configuration
{
"display": {
"separator": " "
},
"modules": [
{
"format": "{user-name}@{host-name}",
"key": "╭─",
"keyColor": "magenta",
"type": "title"
},
{
"key": "├─",
"keyColor": "magenta",
"type": "os"
},
{
"key": "├─",
"keyColor": "magenta",
"type": "kernel"
},
{
"key": "├─",
"keyColor": "magenta",
"type": "packages"
},
{
"key": "╰─",
"keyColor": "magenta",
"type": "uptime"
},
"break",
{
"key": "╭─",
"keyColor": "green",
"type": "host"
},
{
"key": "├─",
"keyColor": "green",
"type": "display"
},
{
"key": "├─",
"keyColor": "green",
"type": "cpu"
},
{
"key": "├─",
"keyColor": "green",
"type": "gpu"
},
{
"key": "├─",
"keyColor": "green",
"type": "disk"
},
{
"key": "├─",
"keyColor": "green",
"type": "memory"
},
{
"key": "╰─",
"keyColor": "green",
"type": "swap"
},
"break",
{
"key": "╭─",
"keyColor": "yellow",
"type": "shell"
},
{
"key": "├─",
"keyColor": "yellow",
"type": "terminal"
},
{
"key": "├─",
"keyColor": "yellow",
"type": "lm"
},
{
"key": "├─",
"keyColor": "yellow",
"type": "wm"
},
{
"key": "├─",
"keyColor": "yellow",
"type": "font"
},
{
"key": "├─",
"keyColor": "yellow",
"type": "theme"
},
{
"key": "├─",
"keyColor": "yellow",
"type": "icons"
},
{
"key": "╰─",
"keyColor": "yellow",
"symbol": "circle",
"type": "colors"
}
]
}
System information
[
{
"type": "Title",
"result": {
"userName": "brisingr",
"fullUserName": "",
"hostName": "manin",
"homeDir": "/home/brisingr/",
"exePath": "/nix/store/mqnav8qvyrgxdirx4qsr9r84fvcsgplg-fastfetch-2.44.0/bin/.fastfetch-wrapped",
"userShell": "/nix/store/pnj7ibpmbrsd9g6yyksmqpb9scp32awh-fish-4.0.2/bin/fish"
},
"stat": 0.009024000726640224
},
{
"type": "Separator",
"error": "Unsupported for JSON format",
"stat": 0.0006329994648694992
},
{
"type": "OS",
"result": {
"buildID": "25.11.20250601.910796c",
"codename": "xantusia",
"id": "nixos",
"idLike": "",
"name": "NixOS",
"prettyName": "NixOS 25.11 (Xantusia)",
"variant": "",
"variantID": "",
"version": "25.11 (Xantusia)",
"versionID": "25.11"
},
"stat": 0.06380899995565414
},
{
"type": "Host",
"result": {
"family": "103C_53311M HP Pavilion",
"name": "24-q254in",
"version": "",
"sku": "Z8G07AA#ACJ",
"vendor": "HP",
"serial": "",
"uuid": ""
},
"stat": 0.20131300017237663
},
{
"type": "BIOS",
"result": {
"date": "08/11/2023",
"release": "5.12",
"vendor": "AMI",
"version": "F.43",
"type": "UEFI"
},
"stat": 0.08038800023496151
},
{
"type": "Bootmgr",
"result": {
"name": "UEFI: CT1000BX500SSD1",
"firmware": "",
"order": 4,
"secureBoot": true
},
"stat": 3.1133260000497103
},
{
"type": "Board",
"result": {
"name": "82DC",
"vendor": "HP",
"version": "1100",
"serial": ""
},
"stat": 0.08086400013417006
},
{
"type": "Chassis",
"result": {
"type": "All in One",
"vendor": "HP",
"version": "",
"serial": ""
},
"stat": 0.08328399993479252
},
{
"type": "Kernel",
"result": {
"architecture": "x86_64",
"name": "Linux",
"release": "6.12.31",
"version": "#1-NixOS SMP PREEMPT_DYNAMIC Thu May 29 09:03:27 UTC 2025",
"displayVersion": "",
"pageSize": 4096
},
"stat": 0.001329999417066574
},
{
"type": "InitSystem",
"result": {
"name": "systemd",
"exe": "/nix/store/if9z6wmzmb07j63c02mvfkhn1mw1w5p4-systemd-257.5/lib/systemd/systemd",
"version": "257.5",
"pid": 1
},
"stat": 9.665652999654412
},
{
"type": "Uptime",
"result": {
"uptime": 6650150,
"bootTime": "2025-06-03T08:32:28.017+0530"
},
"stat": 0.07113400008529425
},
{
"type": "Loadavg",
"result": [
0.18,
0.37,
0.48
],
"stat": 0.014348999597132206
},
{
"type": "Processes",
"result": 246,
"stat": 0.2941990001127124
},
{
"type": "Packages",
"result": {
"all": 1422,
"amSystem": 0,
"amUser": 0,
"apk": 0,
"brew": 0,
"brewCask": 0,
"choco": 0,
"dpkg": 0,
"emerge": 0,
"eopkg": 0,
"flatpakSystem": 0,
"flatpakUser": 11,
"guixSystem": 0,
"guixUser": 0,
"guixHome": 0,
"hpkgSystem": 0,
"hpkgUser": 0,
"linglong": 0,
"mport": 0,
"nixDefault": 0,
"nixSystem": 1411,
"nixUser": 0,
"opkg": 0,
"pacman": 0,
"pacstall": 0,
"paludis": 0,
"pisi": 0,
"pkg": 0,
"pkgtool": 0,
"pkgsrc": 0,
"qi": 0,
"macports": 0,
"rpm": 0,
"scoop": 0,
"snap": 0,
"soar": 0,
"sorcery": 0,
"winget": 0,
"xbps": 0,
"pacmanBranch": ""
},
"stat": 53.47668399941176
},
{
"type": "Shell",
"result": {
"exe": "/nix/store/pnj7ibpmbrsd9g6yyksmqpb9scp32awh-fish-4.0.2/bin/fish",
"exeName": "fish",
"exePath": "/nix/store/pnj7ibpmbrsd9g6yyksmqpb9scp32awh-fish-4.0.2/bin/fish",
"pid": 17849,
"ppid": 12905,
"processName": "fish",
"prettyName": "fish",
"version": "4.0.2",
"tty": 2
},
"stat": 4.816836000420153
},
{
"type": "Editor",
"result": {
"type": "Editor",
"name": "hx",
"path": "/nix/store/sp707yyjrdk3pnkj8s9yzhdhc8j3m4hl-helix-wrapped-25.01.1/bin/hx",
"exe": "hx",
"version": "25.01.1"
},
"stat": 10.08527300041169
},
{
"type": "Display",
"result": [
{
"id": 211213632613,
"name": "HWP4255",
"primary": false,
"output": {
"width": 1920,
"height": 1080,
"refreshRate": 59.997
},
"scaled": {
"width": 1920,
"height": 1080
},
"preferred": {
"width": 1920,
"height": 1080,
"refreshRate": 59.997
},
"physical": {
"width": 530,
"height": 300
},
"rotation": 0,
"bitDepth": 0,
"hdrStatus": "Unsupported",
"type": "Builtin",
"manufactureDate": {
"year": 2015,
"week": 1
},
"serial": 1,
"platformApi": "wayland-zwlr"
}
],
"stat": 4.465028000064194
},
{
"type": "Brightness",
"result": [
{
"name": "HWP4255",
"max": 937.0,
"min": 0.0,
"current": 46.0,
"builtin": true
}
],
"stat": 0.10249199997633696
},
{
"type": "Monitor",
"error": "Monitor module is an alias of Display module",
"stat": 0.000841999426484108
},
{
"type": "LM",
"result": {
"service": "login",
"type": "Wayland",
"version": ""
},
"stat": 0.01902699936181307
},
{
"type": "DE",
"error": "No DE found",
"stat": 0.0054259998723864555
},
{
"type": "WM",
"result": {
"processName": "niri",
"prettyName": "niri",
"protocolName": "Wayland",
"pluginName": "",
"version": ""
},
"stat": 0.0012630000710487366
},
{
"type": "WMTheme",
"error": "Unknown WM: niri",
"stat": 0.000771000050008297
},
{
"type": "Theme",
"result": {
"theme1": "",
"theme2": "catppuccin-mocha-peach-standard+default [GTK2/3/4]"
},
"stat": 0.0620729997754097
},
{
"type": "Icons",
"result": {
"icons1": "",
"icons2": "Papirus-Dark [GTK2/3/4]"
},
"stat": 0.0010439995676279068
},
{
"type": "Font",
"result": {
"display": "CaskaydiaCove Nerd Font (14pt) [GTK2/3/4]",
"fonts": [
"",
"CaskaydiaCove Nerd Font (14pt)",
"CaskaydiaCove Nerd Font (14pt)",
"CaskaydiaCove Nerd Font (14pt)"
]
},
"stat": 0.009058000519871712
},
{
"type": "Cursor",
"result": {
"theme": "catppuccin-mocha-peach-cursors",
"size": "28"
},
"stat": 0.001275000162422657
},
{
"type": "Wallpaper",
"error": "Failed to detect the current wallpaper path",
"stat": 0.00048499926924705505
},
{
"type": "Terminal",
"result": {
"processName": "foot",
"exe": "/nix/store/zwpxm1rfhgym0sgdkxffbm5y8x1rmg68-foot-1.22.3/bin/foot",
"exeName": "foot",
"exePath": "/nix/store/zwpxm1rfhgym0sgdkxffbm5y8x1rmg68-foot-1.22.3/bin/foot",
"pid": 12905,
"ppid": 12600,
"prettyName": "foot",
"version": "1.22.3",
"tty": ""
},
"stat": 0.22265699971467257
},
{
"type": "TerminalFont",
"result": {
"font": {
"name": "CaskaydiaCove Nerd Font",
"size": "14",
"styles": [],
"pretty": "CaskaydiaCove Nerd Font (14pt)"
},
"fallback": {
"name": "",
"size": "",
"styles": [],
"pretty": ""
}
},
"stat": 0.027944999746978283
},
{
"type": "TerminalSize",
"result": {
"columns": 174,
"rows": 45,
"width": 1914,
"height": 1035
},
"stat": 0.007354999892413616
},
{
"type": "TerminalTheme",
"result": {
"fg": {
"r": 205,
"g": 214,
"b": 244,
"dark": false
},
"bg": {
"r": 30,
"g": 30,
"b": 46,
"dark": true
}
},
"stat": 0.06578100007027388
},
{
"type": "CPU",
"result": {
"cpu": "Intel(R) Core(TM) i5-7400T",
"vendor": "GenuineIntel",
"packages": 1,
"cores": {
"physical": 4,
"logical": 4,
"online": 4
},
"frequency": {
"base": 2400,
"max": 3000
},
"coreTypes": [
{
"count": 4,
"freq": 2400
}
],
"temperature": 60.0
},
"stat": 1.9394030002877116
},
{
"type": "CPUCache",
"result": {
"l1": [
{
"size": 32768,
"num": 4,
"lineSize": 64,
"type": "data"
},
{
"size": 32768,
"num": 4,
"lineSize": 64,
"type": "instruction"
}
],
"l2": [
{
"size": 262144,
"num": 4,
"lineSize": 64,
"type": "unified"
}
],
"l3": [
{
"size": 6291456,
"num": 1,
"lineSize": 64,
"type": "unified"
}
]
},
"stat": 0.9880969999358058
},
{
"type": "CPUUsage",
"result": [
10.0,
0.0,
5.0,
4.761904761904762
],
"stat": 200.23374399915338
},
{
"type": "GPU",
"result": [
{
"index": null,
"coreCount": null,
"coreUsage": null,
"memory": {
"dedicated": {
"total": null,
"used": null
},
"shared": {
"total": null,
"used": null
},
"type": null
},
"driver": "i915",
"name": "HD Graphics 630",
"temperature": null,
"type": "Integrated",
"vendor": "Intel",
"platformApi": "DRM (card1)",
"frequency": 1000,
"deviceId": 20
}
],
"stat": 3.0952800000086427
},
{
"type": "Memory",
"result": {
"total": 8214380544,
"used": 4303056896
},
"stat": 0.03135500010102987
},
{
"type": "PhysicalMemory",
"error": "Failed to get SMBIOS data",
"stat": 0.01465499959886074
},
{
"type": "Swap",
"result": {
"total": 20277043200,
"used": 0
},
"stat": 0.021695999428629875
},
{
"type": "Disk",
"result": [
{
"bytes": {
"available": 397795336192,
"free": 397795336192,
"total": 997568278528,
"used": 599772942336
},
"files": {
"total": 487331840,
"used": 2369215
},
"filesystem": "xfs",
"mountpoint": "/",
"mountFrom": "/dev/sda2",
"name": "nixos",
"volumeType": [
"Regular"
],
"createTime": "2024-08-24T11:36:17.297+0530"
},
{
"bytes": {
"available": 2000879616,
"free": 2000879616,
"total": 2143272960,
"used": 142393344
},
"files": {
"total": null,
"used": null
},
"filesystem": "vfat",
"mountpoint": "/boot",
"mountFrom": "/dev/sda1",
"name": "boot",
"volumeType": [
"Regular"
],
"createTime": null
},
{
"bytes": {
"available": 397795336192,
"free": 397795336192,
"total": 997568278528,
"used": 599772942336
},
"files": {
"total": 487331840,
"used": 2369215
},
"filesystem": "xfs",
"mountpoint": "/nix/store",
"mountFrom": "/dev/sda2",
"name": "nixos",
"volumeType": [
"Subvolume",
"Read-only"
],
"createTime": "2024-08-24T11:46:35.759+0530"
},
{
"bytes": {
"available": 0,
"free": 0,
"total": 0,
"used": 0
},
"files": {
"total": null,
"used": null
},
"filesystem": "xfs",
"mountpoint": "/var/lib/containers/storage/overlay",
"mountFrom": "/dev/sda2",
"name": "nixos",
"volumeType": [
"Subvolume",
"Unknown"
],
"createTime": null
}
],
"stat": 0.6495770001783967
},
{
"type": "Btrfs",
"error": "opendir(\"/sys/fs/btrfs\") == NULL",
"stat": 0.008611999452114105
},
{
"type": "Zpool",
"error": "Fastfetch was compiled without libzfs support",
"stat": 0.0008780006319284439
},
{
"type": "Battery",
"result": [],
"stat": 0.018316000699996948
},
{
"type": "PowerAdapter",
"result": [],
"stat": 0.014297999441623688
},
{
"type": "Player",
"error": "Player module is an alias of Media module",
"stat": 0.0009209997951984406
},
{
"type": "Media",
"error": "No media found",
"stat": 2.751407000236213
},
{
"type": "PublicIp",
"result": {
"ip": "RETACTED",
"location": "REDACTED"
},
"stat": 0.10608800034970045
},
{
"type": "LocalIp",
"result": [
{
"name": "wlp2s0",
"defaultRoute": true,
"ipv4": "192.168.1.27/24",
"ipv6": "2401:4900:8fcb:9cb5:f8c1:2bf3:8ae7:a22a/64,2401:4900:8fcb:9cb5:72be:6b01:2452:afa7/64,fe80::c8e1:f264:30ab:7fc2/64",
"mac": "90:61:ae:bb:c2:ef",
"mtu": 1500,
"speed": -1,
"flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
}
],
"stat": 0.3057380001991987
},
{
"type": "DNS",
"result": [
"100.64.0.23",
"192.168.1.1",
"fe80::1%wlp2s0"
],
"stat": 0.035911000333726406
},
{
"type": "Wifi",
"result": [
{
"inf": {
"description": "wlp2s0",
"status": "up"
},
"conn": {
"status": "connected",
"ssid": "REDACTED",
"bssid": "E0:1C:FC:8C:46:A9",
"protocol": "",
"security": "WPA/WPA2",
"signalQuality": 66.0,
"rxRate": null,
"txRate": 260.0,
"channel": 48,
"frequency": 5240
}
}
],
"stat": 3.499122000299394
},
{
"type": "DateTime",
"result": "2025-06-03T10:23:18.455+0530",
"stat": 0.037445999681949615
},
{
"type": "Locale",
"result": "en_US.UTF-8",
"stat": 0.003370000049471855
},
{
"type": "Vulkan",
"result": {
"apiVersion": "1.4.311",
"conformanceVersion": "1.4",
"driver": "Intel open-source Mesa driver [Mesa 25.1.1]",
"gpus": [
{
"type": "Integrated",
"vendor": "Intel",
"name": "Intel(R) HD Graphics 630 (KBL GT2)",
"driver": "Mesa 25.1.1",
"platformApi": "Vulkan 1.4.311",
"deviceId": 22802,
"memory": {
"dedicated": {
"total": 0,
"used": null
},
"shared": {
"total": 6160785408,
"used": null
}
},
"deviceId": 22802
}
]
},
"stat": 45.859948999248445
},
{
"type": "OpenGL",
"result": {
"version": "4.6 (Compatibility Profile) Mesa 25.1.1",
"renderer": "Mesa Intel(R) HD Graphics 630 (KBL GT2)",
"vendor": "Intel",
"slv": "4.60",
"library": "EGL 1.5"
},
"stat": 16.506930000148714
},
{
"type": "OpenCL",
"error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR",
"stat": 0.23338100034743547
},
{
"type": "Users",
"result": [
{
"name": "brisingr",
"hostName": "",
"sessionName": "tty1",
"clientIp": "",
"loginTime": "2025-06-03T09:07:45.804+0530"
}
],
"stat": 0.11190299969166517
},
{
"type": "Bluetooth",
"result": [],
"stat": 0.006351999938488007
},
{
"type": "BluetoothRadio",
"error": "Failed to open /sys/class/bluetooth",
"stat": 0.0036969995126128197
},
{
"type": "Sound",
"result": [
{
"active": true,
"main": true,
"volume": 0,
"name": "Built-in Audio Analog Stereo",
"identifier": "alsa_output.pci-0000_00_1f.3.analog-stereo",
"platformApi": "PipeWire 1.4.2"
},
{
"active": false,
"main": false,
"volume": 100,
"name": "Easy Effects Sink",
"identifier": "easyeffects_sink",
"platformApi": "PipeWire 1.4.2"
}
],
"stat": 8.043499999679625
},
{
"type": "Camera",
"result": [
{
"name": "HP High Definition 1MP Webcam: ",
"vendor": "",
"colorSpace": "sRGB",
"id": "usb-0000:00:14.0-9",
"width": 640,
"height": 480
}
],
"stat": 93.47657600045204
},
{
"type": "Gamepad",
"result": [],
"stat": 0.07232500053942204
},
{
"type": "Mouse",
"result": [
{
"serial": "",
"name": "MOSART Semi. 2.4G INPUT DEVICE Mouse"
},
{
"serial": "",
"name": "Weida Hi-Tech CoolTouchR System"
}
],
"stat": 0.14931099954992533
},
{
"type": "Keyboard",
"result": [
{
"serial": "",
"name": "MOSART Semi. 2.4G INPUT DEVICE"
}
],
"stat": 0.08279599994421005
},
{
"type": "Weather",
"result": "REDACTED",
"stat": 13.025227000005543
},
{
"type": "NetIO",
"result": [
{
"name": "wlp2s0",
"defaultRoute": true,
"txBytes": 1296,
"rxBytes": 1754,
"txPackets": 8,
"rxPackets": 9,
"rxErrors": 0,
"txErrors": 0,
"rxDrops": 0,
"txDrops": 0
}
],
"stat": 522.330838999711
},
{
"type": "DiskIO",
"result": [
{
"name": "ATA TOSHIBA DT01ACA1",
"devPath": "/dev/sdb",
"bytesRead": 0,
"bytesWritten": 0,
"readCount": 0,
"writeCount": 0
},
{
"name": "ATA CT1000BX500SSD1",
"devPath": "/dev/sda",
"bytesRead": 0,
"bytesWritten": 32768,
"readCount": 0,
"writeCount": 2
}
],
"stat": 0.2859129998832941
},
{
"type": "PhysicalDisk",
"result": [
{
"name": "ATA TOSHIBA DT01ACA1",
"devPath": "/dev/sdb",
"interconnect": "ATA",
"kind": "HDD",
"size": 1000204886016,
"serial": "",
"removable": false,
"readOnly": false,
"revision": "A800",
"temperature": null
},
{
"name": "ATA CT1000BX500SSD1",
"devPath": "/dev/sda",
"interconnect": "ATA",
"kind": "SSD",
"size": 1000204886016,
"serial": "",
"removable": false,
"readOnly": false,
"revision": "056",
"temperature": null
}
],
"stat": 0.5656070001423359
},
{
"type": "TPM",
"result": {
"version": "2.0",
"description": "TPM 2.0 Device"
},
"stat": 0.11892500054091215
},
{
"type": "Version",
"result": {
"projectName": "fastfetch",
"sysName": "Linux",
"architecture": "x86_64",
"version": "2.44.0",
"versionGit": "",
"cmakeBuiltType": "Release",
"compileTime": "Jan 1 1980, 00:00:00",
"compiler": "gcc 14.2.1",
"debugMode": false,
"libc": "glibc 2.40"
},
"stat": 0.0015129996463656425
},
{
"type": "Break",
"error": "Unsupported for JSON format",
"stat": 0.0007959995418787003
},
{
"type": "Colors",
"error": "Unsupported for JSON format",
"stat": 0.0003669997677206993
}
]
Features built-in
threads
vulkan
wayland
xcb-randr
xrandr
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
sqlite3
egl
glx
opencl
libpulse
libddcutil
libelf
System yyjson
linux/videodev2
linux/wireless
Not sure about it. @xoltia said that $HOME/.nix-profile should link to the actual folder used for nix package installation. Can you check that?
Sorry for the late reply. I don't have $HOME/.nix-profile due to an option to make Nix conform to the XDG Base Directory Specification. Neofetch shows nix-user packages on my system, because it also searches under /etc/profiles/per-user/$USER: https://github.com/dylanaraps/neofetch/blob/ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f/neofetch#L1607-L1615