From ec5d6d0e2a53bb35807ced3a4ef0f456b43b988e Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 26 Oct 2023 14:49:46 +0200 Subject: [PATCH] refactor --- flake.nix | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/flake.nix b/flake.nix index 5f03ecf..3170a94 100644 --- a/flake.nix +++ b/flake.nix @@ -46,25 +46,30 @@ in { devShells = forEachSupportedSystem ({ pkgs }: { - default = pkgs.mkShell { - packages = with pkgs; [ format update ]; + terraform = pkgs.mkShell { + packages = with pkgs; [ + terraform + ]; }; + # default = pkgs.mkShell { + # packages = with pkgs; [ format update ]; + # }; }); - packages = forEachSupportedSystem ({ pkgs }: rec { - default = dvt; - inherit (pkgs) dvt; - }); - } - - // - - { - templates = { - terraform = { - path = ./terraform; - description = "Terraform development environment"; - }; - }; + # packages = forEachSupportedSystem ({ pkgs }: rec { + # default = dvt; + # inherit (pkgs) dvt; + # }); }; + + # // + + # { + # templates = { + # terraform = { + # path = ./terraform; + # description = "Terraform development environment"; + # }; + # }; + # }; }