mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 15:13:56 +02:00

- do not build packages, which require `x86_64-linux` - use Phala `dcap-qvl` crate for remote attestation, if possible - nix: exclude `nixsgx` on non `x86_64-linux` platforms Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
18 lines
347 B
Nix
18 lines
347 B
Nix
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2024 Matter Labs
|
|
{ lib
|
|
, pkgs
|
|
, stdenv
|
|
, system
|
|
, ...
|
|
}:
|
|
if (stdenv.hostPlatform.system != "x86_64-linux") then { } else
|
|
lib.teepot.nixosGenerate {
|
|
inherit (lib) nixosSystem;
|
|
inherit system pkgs;
|
|
modules = [
|
|
./configuration.nix
|
|
./google.nix
|
|
];
|
|
formatModule = ./verity.nix;
|
|
}
|