26 lines
521 B
Nix
26 lines
521 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
networking.wireless.enable = lib.mkForce false;
|
|
|
|
networking.networkmanager = {
|
|
ethernet.macAddress = "random";
|
|
wifi.macAddress = "random";
|
|
enable = true;
|
|
unmanaged = [
|
|
"docker*"
|
|
"vboxnet*"
|
|
];
|
|
};
|
|
systemd.services.NetworkManager-wait-online.enable = false;
|
|
users.users.mainUser = {
|
|
extraGroups = [ "networkmanager" ];
|
|
packages = with pkgs; [
|
|
gnome3.gnome-keyring
|
|
dconf
|
|
];
|
|
};
|
|
environment.systemPackages = [
|
|
pkgs.nm-dmenu
|
|
];
|
|
}
|