all repos — nixfiles @ acf9e2fe28af31ae8a5f686651459e4e0628798b

System and user configuration, managed by nix and home-manager

modules/hardware/network-manager.nix (view raw)

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
  ];
}