From 6b17b910f8c84368b5031342eb722535e12a18df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Fri, 7 Jun 2024 01:50:56 -0300 Subject: [PATCH] phantom: set hostname --- hosts/phantom/default.nix | 2 ++ hosts/phantom/email.nix | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/phantom/default.nix b/hosts/phantom/default.nix index 462e070..922218f 100644 --- a/hosts/phantom/default.nix +++ b/hosts/phantom/default.nix @@ -20,6 +20,8 @@ ./forgejo.nix ]; + networking.hostName = "phantom"; + services.nginx.virtualHosts."lelgenio.com" = { enableACME = true; forceSSL = true; diff --git a/hosts/phantom/email.nix b/hosts/phantom/email.nix index c218977..1951629 100644 --- a/hosts/phantom/email.nix +++ b/hosts/phantom/email.nix @@ -5,9 +5,6 @@ ... }: { - # It's important to let Digital Ocean set the hostname so we get rDNS to work - networking.hostName = ""; - imports = [ inputs.nixos-mailserver.nixosModules.mailserver ]; mailserver = {