diff --git a/.gitignore b/.gitignore index 8229628..14f41cf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,8 @@ # Devenv /.devenv* -/.direnv -devenv.local.nix +/examples/**/.devenv* +/examples/**/.direnv +/examples/**/devenv.lock +/examples/**/.devenv.flake.nix + diff --git a/examples/sw6-node16/.envrc b/examples/sw6-node16/.envrc new file mode 100644 index 0000000..2367815 --- /dev/null +++ b/examples/sw6-node16/.envrc @@ -0,0 +1,3 @@ +source_url "https://raw.githubusercontent.com/cachix/devenv/v0.6.3/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0=" + +use devenv diff --git a/examples/sw6-node16/devenv.nix b/examples/sw6-node16/devenv.nix new file mode 100644 index 0000000..0c09788 --- /dev/null +++ b/examples/sw6-node16/devenv.nix @@ -0,0 +1,13 @@ +{ pkgs, config, inputs, lib, ... }: + +{ + kellerkinder.phpVersion = "php81"; + kellerkinder.additionalPhpConfig = '' + memory_limit = 512M + ''; + kellerkinder.additionalPhpExtensions = [ "mailparse" ]; + kellerkinder.enableRabbitMq = true; + kellerkinder.enableElasticsearch = true; + + languages.javascript.package = pkgs.nodejs-16_x; +} diff --git a/examples/sw6-node16/devenv.yaml b/examples/sw6-node16/devenv.yaml new file mode 100644 index 0000000..2bc7caf --- /dev/null +++ b/examples/sw6-node16/devenv.yaml @@ -0,0 +1,19 @@ +allowUnfree: true +imports: + - kellerkinder +inputs: + nixpkgs: + url: github:NixOS/nixpkgs/nixos-23.05 + kellerkinder: + url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0 + flake: false + froshpkgs: + url: github:FriendsOfShopware/nur-packages + inputs: + nixpkgs: + follows: "nixpkgs" + phps: + url: github:fossar/nix-phps + inputs: + nixpkgs: + follows: nixpkgs