diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-14 15:20:24 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-14 15:20:24 -0700 |
commit | c839e5346bfeb409e038d80e91889b49c8f114bf (patch) | |
tree | 7df63f200661fb691fa00c5daca4a1d56010e466 | |
parent | 1975ddc7bc6fefa1ea026ce0661d7e8ebee31bbd (diff) | |
download | nix-c839e5346bfeb409e038d80e91889b49c8f114bf.tar nix-c839e5346bfeb409e038d80e91889b49c8f114bf.tar.gz nix-c839e5346bfeb409e038d80e91889b49c8f114bf.tar.bz2 nix-c839e5346bfeb409e038d80e91889b49c8f114bf.tar.lz nix-c839e5346bfeb409e038d80e91889b49c8f114bf.tar.xz nix-c839e5346bfeb409e038d80e91889b49c8f114bf.tar.zst nix-c839e5346bfeb409e038d80e91889b49c8f114bf.zip |
Set hostname properly
-rw-r--r-- | hosts/arrakis/services.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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"; |