How to Install Blocky on NixOS Latest

Blocky is a DNS proxy server that helps you to block unwanted domain names. In this tutorial, we will learn how to install Blocky on NixOS Latest.

1. Install NixOS Latest

If you haven't already installed NixOS, you can follow the official documentation to get started with it.

2. Clone the Blocky repository

Go to the Blocky repository on Github at https://github.com/0xERR0R/blocky and clone it to your local machine with the following command:

$ git clone https://github.com/0xERR0R/blocky.git

3. Modify the configuration file

Move into the Blocky directory and modify the config.yml file with your desired configuration:

$ cd blocky
$ nano config.yml

4. Build the package

Build the Blocky package with the nix-build command:

$ nix-build release.nix

5. Start Blocky

Finally, start the Blocky server with the following command:

$ ./result/bin/blocky -config config.yml

Now you can use Blocky as your DNS server and enjoy the benefits of blocking unwanted domain names.