20 lines
272 B
Nix
20 lines
272 B
Nix
{ hostname, ... }:
|
|
{
|
|
hostName = hostname;
|
|
|
|
networkmanager = {
|
|
enable = true;
|
|
|
|
insertNameservers = [
|
|
"1.1.1.1"
|
|
"9.9.9.9"
|
|
];
|
|
|
|
wifi = {
|
|
scanRandMacAddress = true;
|
|
};
|
|
};
|
|
|
|
wireless.networks = import ./secrets/wifi-passwords.nix;
|
|
}
|