Skip to content

Commit 831d045

Browse files
committed
Replace terraform with opentofu
1 parent 14e47de commit 831d045

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

flake.nix

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,7 @@
2424
forAllSystems = nixpkgsLib.genAttrs supportedSystems;
2525

2626
# Nixpkgs instantiated for supported system types.
27-
nixpkgsFor = forAllSystems (system: import nixpkgs-repo {
28-
inherit system;
29-
config = {
30-
## Prefer allowing specific packages when unfree over general permission.
31-
# allowUnfree = true;
32-
allowUnfreePredicate = pkg: builtins.elem (nixpkgsLib.getName pkg) [
33-
"terraform"
34-
];
35-
};
36-
});
27+
nixpkgsFor = forAllSystems (system: import nixpkgs-repo { inherit system; });
3728
in {
3829
packages = forAllSystems (system:
3930
let
@@ -55,7 +46,7 @@
5546
kapp
5647
kubectl
5748
kubernetes-helm
58-
terraform
49+
opentofu
5950
terragrunt
6051
vendir
6152
ytt

0 commit comments

Comments
 (0)