clean up networking on tailnet

This commit is contained in:
Don Harper 2025-08-06 23:33:17 -05:00
parent 12af203ff1
commit e32816dcf6
4 changed files with 21 additions and 14 deletions

View file

@ -100,7 +100,9 @@
services = {
syncthing = {
enable = true;
guiAddress = "${osConfig.networking.hostName}:8384";
guiAddress = "${osConfig.variables.addresses}:8384";
overrideDevices = false;
overrideFolders = false;
tray.enable = true;
};
gpg-agent = {

View file

@ -6,6 +6,7 @@
../workstation
];
networking.hostName = "book";
variables.addresses = "100.72.121.75";
variables.swayScale = "1.5";
roles = {

View file

@ -7,6 +7,7 @@
];
networking.hostName = "loki";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
variables.addresses = "100.72.0.1";
variables.swayScale = "1.1";
roles = {

View file

@ -67,19 +67,19 @@ in {
to = 1764;
}];
allowedTCPPorts = [ 22 ];
interfaces = {
"tailscale0" = {
allowedTCPPorts = [ 22 8080 8443 8384 ];
allowedTCPPortRanges = [{
from = 1714;
to = 1764;
}];
allowedUDPPortRanges = [{
from = 1714;
to = 1764;
}];
};
};
# interfaces = {
# "tailscale0" = {
# allowedTCPPorts = [ 22 8080 8443 8384 ];
# allowedTCPPortRanges = [{
# from = 1714;
# to = 1764;
# }];
# allowedUDPPortRanges = [{
# from = 1714;
# to = 1764;
# }];
# };
# };
};
};
@ -133,7 +133,10 @@ in {
};
};
powerManagement.powertop.enable = true;
services = {
power-profiles-daemon.enable = false;
avahi = {
enable = true;
nssmdns4 = true;