all repos — nixfiles @ 9c7c0c7045593de0096e7b7b0e8f76e6d8e9293a

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