How to Install SickChill on nixOS Latest

SickChill is a free and open-source television automation software that helps you manage and download your favorite TV shows automatically. In this tutorial, we will explain how to install SickChill on nixOS Latest.

Prerequisites

  • A running instance of nixOS Latest.
  • A user with sudo privileges.

Step 1 - Install Git

SickChill is an open-source project hosted on GitHub. So, we need to install Git first to clone the SickChill repository.

Run the following command to install Git:

sudo nix-env -i git

Step 2 - Clone the SickChill Repository

Now, clone the SickChill repository with the following command:

git clone https://github.com/SickChill/SickChill.git

The above command will create a SickChill directory in your current working directory.

Step 3 - Install Python 3 & Pip

SickChill is written in Python 3, so we need to install Python 3 and pip package manager.

Run the following command to install Python 3 and pip:

sudo nix-env -i python3 pip

Step 4 - Install SickChill Dependencies

SickChill has several dependencies, such as ffmpeg, Pillow, and SQLAlchemy.

We can install these dependencies with pip. Run the following command to install them:

cd SickChill
pip install -r requirements.txt

Step 5 - Configure SickChill

Before running SickChill, we need to configure it. Edit the config.ini file with the following command:

nano config.ini

In this file, you need to provide the following configuration details:

[General]
host = 0.0.0.0
port = 8081
web_root = sickchill
launch_browser = 0
base_path = /path/to/SickChill

[TV]
path = /path/to/your/TV/library

Save and close the file.

Step 6 - Run SickChill

Now, we can run SickChill using the following command:

python3 SickChill.py -q

If everything goes well, SickChill will start running on port 8081.

Conclusion

In this tutorial, we have explained how to install SickChill on nixOS Latest. You can now configure and use SickChill as per your requirements.