From c839e5346bfeb409e038d80e91889b49c8f114bf Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Mon, 14 Oct 2024 15:20:24 -0700 Subject: Set hostname properly --- hosts/arrakis/services.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 6eb514e..30fcfc2 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ config, pkgs, ... }: { environment.etc."gitconfig".text = '' [safe] @@ -120,6 +120,7 @@ postfix = { enable = true; + hostname = "${config.networking.hostName}.${config.networking.domain}"; relayHost = "mail.bitgnome.net"; relayPort = 587; sslCert = "/var/lib/acme/arrakis.bitgnome.net/fullchain.pem"; -- cgit v1.2.3