Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)A
Posts
0
Comments
3
Joined
2 yr. ago

  • I'm in the NixOS php maintainers team.

  • This is what you want in your configuration.nix:

     
        
    { config, pkgs, lib, ... }:
    let
       custom-php = pkgs.php82.buildEnv {
          extensions = ({ enabled, all }: enabled ++ (with all; [
            xdebug
            redis
          ]));
          extraConfig = ''
            memory_limit=2G
            xdebug.mode=debug
          '';
        };
    in
    {
      environment.systemPackages = [
        custom-php
        custom-php.packages.composer
      ];
    }
    
      

    Let me know how that works out for you.