nixos/config/networkmanager.nix

27 lines
391 B
Nix
Raw Normal View History

{
pkgs,
config,
lib,
...
}:
with lib;
mkIf (elem "networkmanager" config.machine.conffiles) {
networking = {
inherit (config.machine) hostName;
};
networking.networkmanager = {
enable = true;
plugins = with pkgs; [
networkmanager-openconnect
];
};
environment.systemPackages = with pkgs; [
networkmanagerapplet
networkmanager_dmenu
];
}