chore: replace home-server IP with hostname

This is compatible with Tailscale and should cause less issues.
This commit is contained in:
Felix Schröter 2024-06-16 20:28:54 +02:00
parent 3284bc1f48
commit 8d0d5a36be
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@
}; };
deploy.nodes.home-server = { deploy.nodes.home-server = {
hostname = "192.168.1.102"; hostname = "home-server";
profiles.system = { profiles.system = {
sshUser = "felschr"; sshUser = "felschr";
sshOpts = [ "-t" ]; sshOpts = [ "-t" ];

View file

@ -78,7 +78,7 @@ in
country = "DE"; country = "DE";
temperature_unit = "C"; temperature_unit = "C";
external_url = "https://home.felschr.com"; external_url = "https://home.felschr.com";
internal_url = "http://192.168.1.102:8123"; internal_url = "http://home-server:8123";
media_dirs.media = "/media"; media_dirs.media = "/media";
allowlist_external_dirs = [ allowlist_external_dirs = [
"/tmp" "/tmp"

View file

@ -9,7 +9,7 @@
age.secrets.samba.file = ../../secrets/samba.age; age.secrets.samba.file = ../../secrets/samba.age;
fileSystems."/mnt/media" = { fileSystems."/mnt/media" = {
device = "//192.168.1.102/media"; device = "//home-server/media";
fsType = "cifs"; fsType = "cifs";
options = [ options = [
# automount options # automount options