summary refs log tree commit diff stats
path: root/modules/hardware/network-manager.nix
blob: 322e2222b37b9fd2371134bb0d9d01fac5885eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, pkgs, ... }:

{ networking.networkmanager = {
    enable = true;
    dns = "unbound";
  };

  services.xserver.displayManager.sessionCommands = ''
    ${pkgs.networkmanagerapplet}/bin/nm-applet &
  '';

  environment.systemPackages = with pkgs; [
    networkmanagerapplet
  ];
}