How to Install SimpleLogin on NixOS Latest

SimpleLogin is an email alias and forwarding service that helps protect your privacy online. It allows you to create unique email addresses for your online accounts, which helps you keep your personal email address private.

If you are using NixOS Latest and want to install SimpleLogin, follow these steps:

  1. Open your terminal.

  2. Create a new environment variable:

$ export SIMPLELOGIN_VERSION="v1.8.1"

The "v1.8.1" is the latest version of SimpleLogin at the time of writing. Make sure you check the official SimpleLogin GitHub page to get the latest version number.

  1. Add the NixOS channel that contains SimpleLogin:
$ nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
  1. Update your NixOS channels:
$ nix-channel --update
  1. Edit configuration.nix:
$ sudo nano /etc/nixos/configuration.nix
  1. Add the following lines to configuration.nix:
{
  systemd.services.simplelogin = {
    enable = true;
    environment = {
        SIMPLELOGIN_VERSION = "${simplelogin_version}";
    };
  };
}

Make sure you replace "${simplelogin_version}" with "${SMIPLELOGIN_VERSION}".

  1. Save and close configuration.nix.

  2. Test your configuration file:

$ sudo nixos-rebuild test
  1. If everything works correctly, rebuild your system:
$ sudo nixos-rebuild switch
  1. Start the SimpleLogin service:
$ sudo systemctl start simplelogin
  1. Check the status of the SimpleLogin service:
$ sudo systemctl status simplelogin

If the status shows as "active", SimpleLogin has been successfully installed in your NixOS system.

Congratulations! You have successfully installed SimpleLogin on NixOS Latest. Now, you can start using the service to create unique email aliases for your online accounts and protect your privacy.

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!