stockholm/lass/2configs/network-manager.nix
2020-04-22 15:52:54 +02:00

25 lines
466 B
Nix

{ pkgs, lib, ... }:
{
networking.wireless.enable = lib.mkForce false;
networking.networkmanager = {
ethernet.macAddress = "random";
wifi.macAddress = "random";
enable = true;
unmanaged = [
"docker*"
"vboxnet*"
];
};
users.users.mainUser = {
extraGroups = [ "networkmanager" ];
packages = with pkgs; [
gnome3.gnome_keyring
gnome3.dconf
];
};
environment.systemPackages = [
pkgs.nm-dmenu
];
}