diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..0f94eed --- /dev/null +++ b/.envrc @@ -0,0 +1,2 @@ +# shellcheck shell=bash +use flake diff --git a/.gitignore b/.gitignore index 9237589..f069e42 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ result .gcroots config.tf.json +.direnv \ No newline at end of file diff --git a/flake.nix b/flake.nix index 1410682..a5b3347 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,15 @@ ''); }; }; - defaultApp.${system} = self.apps.${system}.apply; + apps.${system}.default = self.apps.${system}.apply; + + devShells.${system}.default = pkgs.mkShell { + packages = [ + inputs.agenix.packages.${system}.agenix + inputs.colmena.packages.${system}.colmena + ]; + }; + colmena = { meta.nixpkgs = import nixpkgs { localSystem = system;