summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2025-10-21 16:56:14 +0200
committerJörg Thalheim <joerg@thalheim.io>2025-10-22 12:38:46 +0200
commitab49e37a022de924b83b600371dd89d5135ca23c (patch)
treea13c0dd2e3b73b06aad3d8cd32a7612e97f8e420 /pkgs/development/python-modules/python-openstackclient
parent85a03d7c9812447f9149ee10d081bc7ee22a77f4 (diff)
nixos/facter: add core library and system detection
This adds foundational functionality for nixos-facter hardware detection: - lib.nix: Internal helper functions for querying facter reports - hasCpu/hasAmdCpu/hasIntelCpu: CPU vendor detection - collectDrivers: Extract driver_modules from hardware entries - toZeroPaddedHex: Format USB device IDs (for fingerprint matching) - system.nix: Auto-detect nixpkgs.hostPlatform from facter report Automatically sets the correct platform (x86_64-linux, aarch64-linux, etc.) based on the hardware report, reducing manual configuration. This builds on the base infrastructure added in PR #450303 and provides the foundation for upcoming hardware detection modules (boot, networking, graphics, etc.). Part of the incremental upstreaming effort from: https://github.com/nix-community/nixos-facter-modules
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions