From da35057c36b2d98b6aef1bb8b14d2b1bd2110a29 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 11 May 2021 21:22:36 +0200 Subject: Update mail --- host/software/server/mail.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/software/server/mail.nix b/host/software/server/mail.nix index 1993708..34ebc82 100644 --- a/host/software/server/mail.nix +++ b/host/software/server/mail.nix @@ -1,8 +1,12 @@ { config, pkgs, ... }: { - imports = [ - (builtins.fetchTarball "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.3.0/nixos-mailserver-v2.3.0.tar.gz") + imports = let + release = "nixos-20.09"; + in [ + (builtins.fetchTarball { + url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/${release}/nixos-mailserver-${release}.tar.gz"; + }) ]; mailserver = { -- cgit v1.2.3