18 lines
270 B
Nix
18 lines
270 B
Nix
{ hostname, wifi-passwords, ... }:
|
|
{
|
|
hostName = "${hostname}";
|
|
|
|
networkmanager = {
|
|
enable = true;
|
|
insertNameservers = [
|
|
"1.1.1.1"
|
|
"8.8.8.8"
|
|
];
|
|
wifi = {
|
|
scanRandMacAddress = true;
|
|
};
|
|
};
|
|
|
|
wireless.networks = wifi-passwords;
|
|
}
|