From c33b11ce945c1ac8ceb8797d0366af330e879535 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Sun, 25 Aug 2024 20:49:01 +1000 Subject: [PATCH] chore(iog): use flake input --- profiles/iog.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/profiles/iog.nix b/profiles/iog.nix index bcda846..3cbb90c 100644 --- a/profiles/iog.nix +++ b/profiles/iog.nix @@ -1,11 +1,13 @@ # NixOps configuration for the hosts utilising IOHK resources { config, + inputs, pkgs, lib, - nix, ... -}: { +}: let + nix = inputs.nix.packages."${pkgs.system}".nix; +in { imports = [../profiles/terminal-recording.nix ../profiles/nix-direnv.nix]; nix = { @@ -13,16 +15,12 @@ settings = { substituters = [ "https://cache.nixos.org" - "https://erc20.cachix.org" "https://cache.iog.io" - "s3://iohk-vit-bitte/infra/binary-cache/?region=eu-central-1" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - "erc20.cachix.org-1:SSf1RXfccF4/rwiwgBrbV7n8EBn0xciuU/TMdtor8LE=" "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=" - "vit-testnet-0:0lvkEoYh+XrBh7pr4bXjsUisUkUxsyLvvWBIJwym/RM=" ]; }; extraOptions = ''