the.bay.news

Hardware-configuration.nix with nixos-facter and disko

NixOS Discourse
Hardware-configuration.nix with nixos-facter and disko
My experience with nixos-facter and disko have been great so far. Because of docs , I dont know how to access those information in the facter.json. I want to extract information from the facter.json (/dev/disk/by-id, system) to use in my nix-config. For example: Current: ```nix hardware.facter.reportPath = ../hardware/facter.json; disko.devices = { disk.main = { type = “disk”; device = “/dev/disk/by-id/XXXXX”; content = { type = “gpt”; partitions = { ……. }; }; }; }; ``` After: `...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.