How to Install Black Candy on nixOS

In this tutorial, we will guide you on how to install Black Candy on nixOS Latest. Black Candy is an open-source, modern and responsive dark theme for the PHPBB forum system. It has a clean design, customizable options and features a unique sidebar.

Prerequisites

  • nixOS Latest

Installation Steps

  1. Open a terminal on your nixOS system.

  2. Install Git version control system:

    $ sudo nix-env -i git
    
  3. Clone Black Candy repository from GitHub:

    $ git clone https://github.com/blackcandy-org/black_candy.git
    
  4. Navigate to the cloned repository:

    $ cd black_candy
    
  5. Install required dependencies:

    $ sudo nix-env -i php php-curl php-gd php-mysql php-fpm
    
  6. Configure PHP:

    $ sudo nano /etc/php-fpm.conf
    

    Uncomment the following lines:

    ;cgi.fix_pathinfo=1
    ;listen = /run/php-fpm/php-fpm.sock
    ;listen.owner = www-data
    ;listen.group = www-data
    ;listen.mode = 0660
    
  7. Start PHP service:

    $ sudo systemctl start php-fpm.service
    
  8. Copy Black Candy files to the PHPBB themes directory:

    $ sudo cp -a ./blackcandy /var/www/phpbb/styles/
    
  9. Go to the PHPBB admin control panel: http://your-domain.com/phpbb/admin/index.php

  10. Login with your admin credentials.

  11. Go to the "Customise" tab.

  12. Click on "Manage extensions" on the left sidebar.

  13. Click on the "Enable" button next to "Black Candy Style for phpBB 3.3".

  14. Go back to the "Customise" tab.

  15. Click on "Styles" on the left sidebar.

  16. Choose "Black Candy" from the list of available styles.

Congratulations, you have successfully installed Black Candy on nixOS Latest. Now, you can enjoy the modern and responsive dark theme on your PHPBB forum system.