aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-14 15:20:24 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-14 15:20:24 -0700
commitc839e5346bfeb409e038d80e91889b49c8f114bf (patch)
tree7df63f200661fb691fa00c5daca4a1d56010e466 /hosts/arrakis
parent1975ddc7bc6fefa1ea026ce0661d7e8ebee31bbd (diff)
downloadnix-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
Diffstat (limited to 'hosts/arrakis')
-rw-r--r--hosts/arrakis/services.nix3
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";