nemo: network fix

This commit is contained in:
Daniel Lundin 2024-08-15 22:36:19 +02:00
parent 3e7b9dcf56
commit 7a73fb03b4
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -80,11 +80,13 @@
networking = { networking = {
hostName = "nemo"; # Define your hostname. hostName = "nemo"; # Define your hostname.
domain = "aarn.shelman.io";
nameservers = [ nameservers = [
"10.1.100.11" "10.1.100.11"
"10.1.100.12" "10.1.100.12"
"10.1.100.13" "10.1.100.13"
]; ];
firewall.enable = false;
networkmanager.enable = false; networkmanager.enable = false;
useDHCP = false; useDHCP = false;
wireless.iwd = { wireless.iwd = {
@ -103,13 +105,7 @@
}; };
}; };
networking.firewall.allowedTCPPorts = [ services.nscd.enableNsncd = false;
22000 # Syncthing
];
networking.firewall.allowedUDPPorts = [
22000 # Synchthing
21027
];
systemd.network.enable = true; systemd.network.enable = true;
systemd.network.networks."10-wifi" = { systemd.network.networks."10-wifi" = {
@ -136,7 +132,11 @@
services.resolved = { services.resolved = {
enable = true; enable = true;
domains = [ "~." ]; domains = [
"aarn.shelman.io"
"shelman.io"
];
llmnr = "false";
fallbackDns = [ "9.9.9.9" ]; fallbackDns = [ "9.9.9.9" ];
}; };
@ -165,7 +165,6 @@
ffado ffado
lm_sensors lm_sensors
openconnect openconnect
pam_rssh
]; ];
programs.coolercontrol.enable = true; programs.coolercontrol.enable = true;