From d8e18adab9a9efebe832445a63f8c34ee51580be Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Fri, 15 Nov 2024 22:50:18 +0100 Subject: [PATCH] Set the VPS hostname via cloud-init as well --- vps-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vps-configuration.nix b/vps-configuration.nix index 8678735..2390881 100644 --- a/vps-configuration.nix +++ b/vps-configuration.nix @@ -53,6 +53,9 @@ services.cloud-init = { enable = true; network.enable = true; + settings = { + hostname = "tien"; + }; }; services.tailscale.enable = true;