feat: create shared extraHosts module with Tailscale IPs

- Create modules/network/extraHosts.nix with Tailscale IP mappings
- Replace hardcoded networking.extraHosts in all machine configs
- Add extraHosts module import to all machines
- Enable Tailscale service by default in the module
- Use Tailscale mesh network IPs for reliable connectivity
This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-07 15:07:17 +00:00
parent fa2b84cf65
commit 2d3728f28b
5 changed files with 33 additions and 7 deletions

View file

@ -12,6 +12,9 @@
# Security modules
../../modules/security/ssh-keys.nix
# Network modules
../../modules/network/extraHosts.nix
# Hardware modules
../../modules/hardware/amd-workstation.nix
@ -45,8 +48,7 @@
path = "/boot";
}
];
};
# ZFS services for this machine
}; # ZFS services for this machine
services.zfs = {
autoScrub.enable = true;
trim.enable = true;