Skip to content

Commit c33f995

Browse files
committed
feat(flake): nixConfig substituters
1 parent 036dd38 commit c33f995

4 files changed

Lines changed: 5 additions & 15 deletions

File tree

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
systems.url = "github:nix-systems/default";
1212
};
1313

14+
nixConfig = {
15+
extra-substituters = "https://nixpkgs-terraform.cachix.org";
16+
extra-trusted-public-keys = "nixpkgs-terraform.cachix.org-1:8Sit092rIdAVENA3ZVeH9hzSiqI/jng6JiCrQ1Dmusw=";
17+
};
18+
1419
outputs =
1520
inputs@{ self
1621
, nixpkgs

templates/default/flake.nix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
systems.url = "github:nix-systems/default";
66
};
77

8-
nixConfig = {
9-
extra-substituters = "https://nixpkgs-terraform.cachix.org";
10-
extra-trusted-public-keys = "nixpkgs-terraform.cachix.org-1:8Sit092rIdAVENA3ZVeH9hzSiqI/jng6JiCrQ1Dmusw=";
11-
};
12-
138
outputs = { self, nixpkgs-terraform, nixpkgs, systems }:
149
let
1510
forEachSystem = nixpkgs.lib.genAttrs (import systems);

templates/devenv/flake.nix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
systems.url = "github:nix-systems/default";
77
};
88

9-
nixConfig = {
10-
extra-substituters = "https://nixpkgs-terraform.cachix.org";
11-
extra-trusted-public-keys = "nixpkgs-terraform.cachix.org-1:8Sit092rIdAVENA3ZVeH9hzSiqI/jng6JiCrQ1Dmusw=";
12-
};
13-
149
outputs = inputs@{ self, devenv, nixpkgs-terraform, nixpkgs, systems }:
1510
let
1611
forEachSystem = nixpkgs.lib.genAttrs (import systems);

templates/terranix/flake.nix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
terranix.url = "github:terranix/terranix";
77
};
88

9-
nixConfig = {
10-
extra-substituters = "https://nixpkgs-terraform.cachix.org";
11-
extra-trusted-public-keys = "nixpkgs-terraform.cachix.org-1:8Sit092rIdAVENA3ZVeH9hzSiqI/jng6JiCrQ1Dmusw=";
12-
};
13-
149
outputs = { self, nixpkgs-terraform, nixpkgs, systems, terranix }:
1510
let
1611
forEachSystem = nixpkgs.lib.genAttrs (import systems);

0 commit comments

Comments
 (0)