refactor(tailscale): restructure pepe.core configuration and add openUDP port 41641

- Restructured `pepe.core` configuration to include `firewall.openUDP` for port 41641
- Updated Tailscale network interface configuration with new device entries (`work_laptop`, `work_desktop`)
- Removed outdated device entries (`dodino`, `chuck`) from Tailscale configuration
This commit is contained in:
Giulio De Pasquale 2025-06-05 16:55:35 +01:00
parent 5c1abae02c
commit 39fbc03827

View File

@ -7,22 +7,27 @@ let
inherit (utilities) generateDeviceStrings; inherit (utilities) generateDeviceStrings;
in in
{ {
pepe.core.network.interfaces.tailscale = { pepe.core = {
interface = "ts0"; firewall.openUDP = [ 41641 ];
net = "100.64.0.0/10";
type = "vpn"; network.interfaces.tailscale = {
devices = { interface = "ts0";
architect = { address = "100.64.0.1"; hostname = "architect.${domain}"; isEndpoint = true; }; net = "100.64.0.0/10";
kmerr = { address = "100.64.0.2"; hostname = "kmerr.${domain}"; }; type = "vpn";
chuck = { address = "100.64.0.4"; hostname = "chuck.${domain}"; }; devices = {
manduria = { address = "100.64.0.6"; hostname = "manduria.${domain}"; }; architect = { address = "100.64.0.1"; hostname = "architect.${domain}"; isEndpoint = true; };
tommy = { address = "100.64.0.7"; hostname = "tommy.${domain}"; }; kmerr = { address = "100.64.0.2"; hostname = "kmerr.${domain}"; };
alfredo = { address = "100.64.0.9"; hostname = "alfredo.${domain}"; }; work_laptop = { address = "100.64.0.4"; hostname = "work_laptop.${domain}"; };
appletv = { address = "100.64.0.13"; hostname = "appletv.${domain}"; }; work_desktop = { address = "100.64.0.5"; hostname = "work_desktop.${domain}"; };
afsun = { address = "100.64.0.15"; hostname = "afsun.${domain}"; }; manduria = { address = "100.64.0.6"; hostname = "manduria.${domain}"; };
jacopo-desktop = { address = "100.64.0.21"; hostname = "jacopo-desktop.${domain}"; }; tommy = { address = "100.64.0.7"; hostname = "tommy.${domain}"; };
jacopo-tv = { address = "100.64.0.22"; hostname = "jacopo-tv.${domain}"; }; alfredo = { address = "100.64.0.9"; hostname = "alfredo.${domain}"; };
jacopo-phone = { address = "100.64.0.28"; hostname = "jacopo-phone.${domain}"; }; appletv = { address = "100.64.0.13"; hostname = "appletv.${domain}"; };
afsun = { address = "100.64.0.15"; hostname = "afsun.${domain}"; };
jacopo-desktop = { address = "100.64.0.21"; hostname = "jacopo-desktop.${domain}"; };
jacopo-tv = { address = "100.64.0.22"; hostname = "jacopo-tv.${domain}"; };
jacopo-phone = { address = "100.64.0.28"; hostname = "jacopo-phone.${domain}"; };
};
}; };
}; };