diff --git a/flake.nix b/flake.nix index 87a2475..a9b2ea3 100644 --- a/flake.nix +++ b/flake.nix @@ -61,18 +61,19 @@ ${lib.getExe terraform} plan ''); }; - # nix run ".#destroy" - destroy = { - type = "app"; - program = toString (pkgs.writers.writeBash "destroy" '' - set -eo pipefail - ln -snf ${terraformCfg} config.tf.json - ${lib.getExe terraform} init - ${lib.getExe terraform} destroy - ''); + # nix run ".#destroy" + destroy = { + type = "app"; + program = toString (pkgs.writers.writeBash "destroy" '' + set -eo pipefail + ln -snf ${terraformCfg} config.tf.json + ${lib.getExe terraform} init + ${lib.getExe terraform} destroy + ''); }; + + default = self.apps.${system}.apply; }; - apps.${system}.default = self.apps.${system}.apply; devShells.${system}.default = pkgs.mkShell { packages = [