diff options
Diffstat (limited to 'host/software/server')
-rw-r--r-- | host/software/server/mail.nix | 8 |
1 files changed, 6 insertions, 2 deletions
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 = { |