nixsgx/flake.nix
Harald Hoyer 971e63784c
chore: Migrate from cachix to Attic in nix and github workflows
- Updated nix config to use Attic substituter and trusted public key
- Modified github workflows to use Attic cache instead of Cachix
- Removed the now unnecessary cachix config settings and Cachix workflow actions
- Update `flake.lock`
- Run on our own CI runners

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-01 14:00:14 +02:00

33 lines
700 B
Nix

{
nixConfig = {
extra-substituters = [ "https://attic.teepot.org/tee-pot" ];
extra-trusted-public-keys = [ "tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg=" ];
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
description = "SGX packages for nixos";
outputs = inputs:
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
package-namespace = "nixsgx";
snowfall = {
namespace = "nixsgx";
};
outputs-builder = channels: {
formatter = channels.nixpkgs.nixpkgs-fmt;
};
};
}