27 lines
391 B
Nix
27 lines
391 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
}
|