Move NetworkManager applet to network-manager configuration
Alan Pearce alan@alanpearce.eu
Sat, 28 Sep 2019 20:26:47 +0200
2 files changed, 4 insertions(+), 1 deletions(-)
M modules/hardware/network-manager.nix → modules/hardware/network-manager.nix
@@ -5,6 +5,10 @@ enable = true; dns = "unbound"; }; + services.xserver.displayManager.sessionCommands = '' + ${pkgs.networkmanagerapplet}/bin/nm-applet & + ''; + environment.systemPackages = with pkgs; [ networkmanagerapplet ];
M modules/programs/window-manager.nix → modules/programs/window-manager.nix
@@ -11,7 +11,6 @@ }; sessionCommands = '' ${pkgs.xorg.xrdb}/bin/xrdb -merge $HOME/.xresources/main ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' - ${pkgs.networkmanagerapplet}/bin/nm-applet & ''; }; xautolock = {