etcnixos -> system

This commit is contained in:
2025-11-21 12:19:28 -05:00
parent 946d72b66b
commit 8a06e4560d
18 changed files with 2 additions and 2 deletions

26
system/networking.nix Normal file
View File

@@ -0,0 +1,26 @@
{ hostname, ... }:
{
# speed up boot times (by about three seconds)
systemd.services.NetworkManager-wait-online.enable = false;
networking = {
hostName = hostname;
networkmanager = {
enable = true;
insertNameservers = [
"1.1.1.1"
"9.9.9.9"
];
wifi = {
scanRandMacAddress = true;
# fix suspend issue
powersave = false;
};
};
wireless.networks = import ./secrets/wifi-passwords.nix;
};
}