Skip to content

Commit

Permalink
Replace terraform with opentofu
Browse files Browse the repository at this point in the history
  • Loading branch information
johha committed Apr 4, 2024
1 parent 14e47de commit 831d045
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@
forAllSystems = nixpkgsLib.genAttrs supportedSystems;

# Nixpkgs instantiated for supported system types.
nixpkgsFor = forAllSystems (system: import nixpkgs-repo {
inherit system;
config = {
## Prefer allowing specific packages when unfree over general permission.
# allowUnfree = true;
allowUnfreePredicate = pkg: builtins.elem (nixpkgsLib.getName pkg) [
"terraform"
];
};
});
nixpkgsFor = forAllSystems (system: import nixpkgs-repo { inherit system; });
in {
packages = forAllSystems (system:
let
Expand All @@ -55,7 +46,7 @@
kapp
kubectl
kubernetes-helm
terraform
opentofu
terragrunt
vendir
ytt
Expand Down

0 comments on commit 831d045

Please sign in to comment.