Isso is a commenting system that can be installed on your server to enable your visitors to leave comments. In this tutorial, we will walk through how to install Isso on NixOS, the latest version.
Before installing Isso on NixOS, you will need:
sudo nix-env -i isso
$ mkdir /etc/isso
$ cp /nix/store/*/isso-latest/lib/python*/site-packages/isso/conf/* /etc/isso/
$ nano /etc/isso/isso.conf
[general]
dbpath = /var/lib/isso/comments.db
host = http://localhost:8080
max_age = 15m
max_comments_top = 20
max_comments_nesting = 3
reply_notification = False
notify_moderator = moderator@example.com
Replace moderator@example.com
with your email. This email will be notified when someone leaves a comment.
Save the changes and close the file.
/etc/nixos/isso.nix
:{ configFile }: {
systemd.services.isso = {
description = "Isso comments server"
wantedBy = [ "multi-user.target" ]
after = [ "network.target" ]
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.isso}/bin/isso -c ${configFile}";
User = "isso";
Group = "isso";
StandardOutput = "journal+console";
StandardError = "inherit";
};
};
}
/etc/nixos/configuration.nix
file and add the isso.nix
configuration as follows:{ config, pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ];
environment.systemPackages = with pkgs; [
pkgs.vim
pkgs.isso
];
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; };
networking.firewall.allowedTCPPorts = [ 80 443 ];
services = {
sshd.enable = true;
isso = {
enable = true;
configFile = "/etc/isso/isso.conf";
};
};
}
$ sudo nixos-rebuild switch
sudo systemctl start isso
sudo systemctl status isso
sudo systemctl enable isso
In this tutorial, we have shown you how to install Isso on NixOS, the latest version. You should now be able to install Isso and configure it on your NixOS server to enable commenting on your website.
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!