phantom: set hostname

This commit is contained in:
Leonardo Eugênio 2024-06-07 01:50:56 -03:00
parent 8625dbc8a2
commit 6b17b910f8
2 changed files with 2 additions and 3 deletions

View file

@ -20,6 +20,8 @@
./forgejo.nix ./forgejo.nix
]; ];
networking.hostName = "phantom";
services.nginx.virtualHosts."lelgenio.com" = { services.nginx.virtualHosts."lelgenio.com" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;

View file

@ -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 ]; imports = [ inputs.nixos-mailserver.nixosModules.mailserver ];
mailserver = { mailserver = {