nemo: network fix
This commit is contained in:
parent
3e7b9dcf56
commit
7a73fb03b4
1 changed files with 8 additions and 9 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue