From b44d627e433d2fbd69ae8f9b53727eb1ab4bffc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 12 Apr 2025 14:36:43 +0200 Subject: [PATCH] feat: address hosts by hostname --- machines/moritz-desktop/configuration.nix | 2 +- machines/moritz-server/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/moritz-desktop/configuration.nix b/machines/moritz-desktop/configuration.nix index b3f5dc7..8a47f8c 100644 --- a/machines/moritz-desktop/configuration.nix +++ b/machines/moritz-desktop/configuration.nix @@ -27,7 +27,7 @@ # Set this for clan commands use ssh i.e. `clan machines update` # If you change the hostname, you need to update this line to root@ # This only works however if you have avahi running on your admin machine else use IP - clan.core.networking.targetHost = "root@192.168.0.14"; + clan.core.networking.targetHost = "root@moritz-desktop"; my = { ai.enable = true; diff --git a/machines/moritz-server/configuration.nix b/machines/moritz-server/configuration.nix index 92f80c8..547e782 100644 --- a/machines/moritz-server/configuration.nix +++ b/machines/moritz-server/configuration.nix @@ -9,7 +9,7 @@ # Set this for clan commands use ssh i.e. `clan machines update` # If you change the hostname, you need to update this line to root@ # This only works however if you have avahi running on your admin machine else use IP - clan.core.networking.targetHost = "root@192.168.0.3"; + clan.core.networking.targetHost = "root@moritz-server"; networking = { interfaces.enp2s0 = {