Skip to content

"failed to scan hardware: unsupported bus type: Host" on nixos-apple-silicon host #212

@astratagem

Description

@astratagem

I'm running the command as provided in the readme and am seeing the following:

$ sudo nix run \
        --option experimental-features "nix-command flakes" \
        --option extra-substituters https://numtide.cachix.org \
        --option extra-trusted-public-keys numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE= \
        github:nix-community/nixos-facter -- -o facter.json
2025/08/01 06:50:50 failed to scan: failed to scan hardware: unsupported bus type: Host

Same result when running the command using nixpkgs#nixos-facter.

With --log-level debug I get:

2025/08/01 06:54:23 facter.go:67: DEBUG building report system=aarch64-linux version=1
2025/08/01 06:54:23 facter.go:74: DEBUG scanning hardware features="[memory pci net serial cpu bios monitor scsi usb prom sbus sys sysfs udev block wlan]"
2025/08/01 06:54:23 root.go:141: failed to scan: failed to scan hardware: unsupported bus type: Host

This is an M2 Apple MacBook Air running NixOS via nix-community/nixos-apple-silicon.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions