# Hardware-Attested Nix Builds

DevFeed: [Hardware-Attested Nix Builds](<https://devfeed.tech/articles/hardware-attested-nix-builds-32399.md>)

Original publisher: [Read original article](<https://garnix.io/blog/attested-nix-builds>)

Author: Dec

Published: 2025-12-17T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [builds](<https://devfeed.tech/topics/builds.md>), [software artifact signing](<https://devfeed.tech/topics/software-artifact-signing.md>), [Confidential Computing](<https://devfeed.tech/topics/confidential-computing.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [trust](<https://devfeed.tech/topics/trust.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>)

Tags: [artifacts](<https://devfeed.tech/tags/artifacts.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [attestation](<https://devfeed.tech/tags/attestation.md>), [builds](<https://devfeed.tech/tags/builds.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [integrity](<https://devfeed.tech/tags/integrity.md>), [nix](<https://devfeed.tech/tags/nix.md>)

## AI overview

Hardware attestation can strengthen confidence that a Nix artifact was built from its declared inputs by limiting what can influence the build. The authors first tried attesting a remote builder VM, but describe a stronger design that replaces each Nix build sandbox with a minimal, hardware-attested VM. It attests the input derivation, dependency Merkle-tree hash, output hash, and VM boot measurements; users verify dependency reports themselves so they can apply their own trust policies. This still depends on trusting the hardware and its manufacturing and key management. Hardware attacks exist and can enable forged measurements with physical access, so the authors recommend accepting signatures only from machines controlled by trusted entities. Independent rebuilds across providers and both AMD and Intel can add confidence. Per-build VMs are slower, more expensive, and take time to start; the setup needs case-specific work, so broad availability is not expected soon.

## Source excerpt

More confidence in the integrity of your Nix artifacts.