chore: replace home-server IP with hostname
This is compatible with Tailscale and should cause less issues.
This commit is contained in:
parent
3284bc1f48
commit
8d0d5a36be
|
@ -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" ];
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue