diff --git a/drupal-nix-flake/.envrc b/drupal-nix-flake/.envrc index a5dbbcb..3550a30 100644 --- a/drupal-nix-flake/.envrc +++ b/drupal-nix-flake/.envrc @@ -1 +1 @@ -use flake . +use flake diff --git a/drupal-nix-flake/.gitignore b/drupal-nix-flake/.gitignore index 7171a80..c0fe792 100644 --- a/drupal-nix-flake/.gitignore +++ b/drupal-nix-flake/.gitignore @@ -1,7 +1,43 @@ -.editorconfig -.gitattributes -data/ -recipes/README.txt -vendor/ -web/ -web/core/ +/.direnv/ +/.editorconfig +/.env +/.gitattributes +/.phpunit.result.cache +/bin/ +/data/ +/phpcs.xml +/phpunit.xml +/phpstan.neon +/vendor/ + +/web/.csslintrc +/web/.eslintignore +/web/.eslintrc.json +/web/.ht.router.php +/web/.htaccess +/web/INSTALL.txt +/web/README.md +/web/autoload.php +/web/core/ +/web/example.gitignore +/web/index.php +/web/modules/README.txt +/web/modules/contrib/ +/web/profiles/README.txt +/web/profiles/contrib/ +/web/robots.txt +/web/sites/*/files/ +/web/sites/*/private/ +/web/sites/*/services*.yml +/web/sites/*/settings*.php +/web/sites/README.txt +/web/sites/default/default.services.yml +/web/sites/default/default.settings.php +/web/sites/development.services.yml +/web/sites/example.settings.local.php +/web/sites/example.sites.php +/web/sites/simpletest/ +/web/themes/README.txt +/web/themes/contrib/ +/web/update.php +/web/web.config diff --git a/drupal-nix-flake/build-configs.yaml b/drupal-nix-flake/build-configs.yaml new file mode 100644 index 0000000..a76b95d --- /dev/null +++ b/drupal-nix-flake/build-configs.yaml @@ -0,0 +1,8 @@ +--- +name: drupal-nix-flake +template: php-drupal +parameters: + database: + name: drupal_nix_flake_example + nix: + phpPackage: php83 diff --git a/drupal-nix-flake/flake.nix b/drupal-nix-flake/flake.nix index fb4cbf5..448b047 100644 --- a/drupal-nix-flake/flake.nix +++ b/drupal-nix-flake/flake.nix @@ -30,7 +30,6 @@ databasePort = 3306; webPort = 8000; - in with lib; {