Miniflux is a free and open-source, minimalist web-based RSS reader that is designed to be self-hosted. It allows you to collect news articles and blogs in one place to read and discover them in detail. In this tutorial, we will guide you on how to install and configure Miniflux on nixOS.
sudo nix-channel --update && sudo nix-env -iA nixpkgs.nixUnstable
sudo nix-env -iA nixpkgs.miniflux
sudo useradd -r -d /opt/miniflux miniflux
sudo mkdir -p /opt/miniflux/{data,config}
sudo chown -R miniflux:miniflux /opt/miniflux
sudo nano /opt/miniflux/config/miniflux.conf
DATABASE_URL=postgresql://<enter-your-SQL-user>:<enter-your-SQL-password>@localhost:5432/miniflux
LISTEN_ADDR=127.0.0.1:8080
BASE_URL=http://localhost:8080/
SECRET_KEY=long_random_string
PASSWORD_HASH_COST=14
SESSION_KEY=very_long_random_string
CERT_FILE=
KEY_FILE=
OAUTH2_ENABLED=false
MARK_READ_DELAY_MINUTES=30
SHOW_UNREAD_COUNT=true
sudo systemctl start miniflux
sudo systemctl enable miniflux
sudo systemctl status miniflux
You should see an output similar to this:
● miniflux.service - Miniflux
Loaded: loaded (/nix/store/rqs93978czijv59xw63vw7z2xd13c7an-miniflux-2.0.35-miniflux.service; enabled; vendor preset: no>
Active: active (running) since Mon 2022-09-19 04:46:00 UTC; 40min ago
Main PID: 3567 (miniflux)
Tasks: 11 (limit: 1078)
Memory: 221.6M
CPU: 3.432s
CGroup: /system.slice/miniflux.service
└─3567 /nix/store/d6m60fw6h1ss6ak8kzl4z6kn1abrn4yh-miniflux-2.0.35/bin/miniflux
Congratulations! You have successfully installed Miniflux on nixOS. You can now access the site by navigating to http://localhost:8080
in your web browser.
In this tutorial, we have shown you how to install and configure Miniflux on nixOS. Now you can start adding RSS feeds and discovering new information all in one place!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!