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 = {