From 980fab8e8037b0dbf6d762cd67874abd1c9fbbf6 Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Wed, 17 Sep 2025 16:34:14 -0500 Subject: [PATCH] adding terraform and aws --- flake.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 79d68f4..582288b 100644 --- a/flake.nix +++ b/flake.nix @@ -15,8 +15,14 @@ supportedSystems = [ "x86_64-linux" ]; pkgsFor = system: - nixpkgs.legacyPackages.${system}.extend ( - nixpkgs.lib.composeManyExtensions ([ dockerOverlay ]) + let + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; + in + pkgs.extend ( + pkgs.lib.composeManyExtensions [ dockerOverlay ] # nixpkgs.lib.composeManyExtensions ([ ] ++ builtins.attrValues self.overlays) ); eachSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f (pkgsFor system)); @@ -101,6 +107,8 @@ # pkgs.docker # pkgs.docker-compose pkgs.jq + pkgs.terraform + pkgs.awscli2 ]; config = {