Compare commits

...
2 Commits
Author SHA1 Message Date
syedm 411127f2a2 Include newtab/default.nix in main nix file. 2026-10-19 12:04:46 +01:00
syedm 230507dd82 Add newtab to ddns service. 2026-10-19 11:57:53 +01:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@
../../modules/gitea ../../modules/gitea
../../modules/msjd ../../modules/msjd
../../modules/infinsweeper ../../modules/infinsweeper
../../modules/newtab
]; ];
networking.hostName = "syedm"; networking.hostName = "syedm";
+1 -1
View File
@@ -17,7 +17,7 @@ IP_V6=$(@curl@/bin/curl -6 -s 'https://api6.ipify.org')
log "Detected IPv4: ${IP_V4:-none}" log "Detected IPv4: ${IP_V4:-none}"
log "Detected IPv6: ${IP_V6:-none}" log "Detected IPv6: ${IP_V6:-none}"
arr=("" "git." "www." "acs." "infinsweeper.") arr=("" "git." "www." "acs." "infinsweeper." "newtab.")
if [[ -n "$IP_V4" ]]; then if [[ -n "$IP_V4" ]]; then
old_ip_v4=$([[ -f "$cache_v4" ]] && cat "$cache_v4" || echo "") old_ip_v4=$([[ -f "$cache_v4" ]] && cat "$cache_v4" || echo "")