diff options
author | Alan Pearce | 2019-09-28 20:26:47 +0200 |
---|---|---|
committer | Alan Pearce | 2019-09-28 22:16:43 +0200 |
commit | 9c7c0c7045593de0096e7b7b0e8f76e6d8e9293a (patch) | |
tree | 76a60d1ac0092ce590796c8b1a139cc120e478a3 | |
parent | a2445532c27239fc592a54869e604037cedd72c5 (diff) | |
download | nixos-configuration-9c7c0c7045593de0096e7b7b0e8f76e6d8e9293a.tar.lz nixos-configuration-9c7c0c7045593de0096e7b7b0e8f76e6d8e9293a.tar.zst nixos-configuration-9c7c0c7045593de0096e7b7b0e8f76e6d8e9293a.zip |
Move NetworkManager applet to network-manager configuration
-rw-r--r-- | modules/hardware/network-manager.nix | 4 | ||||
-rw-r--r-- | modules/programs/window-manager.nix | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/hardware/network-manager.nix b/modules/hardware/network-manager.nix index 04480a8..322e222 100644 --- a/modules/hardware/network-manager.nix +++ b/modules/hardware/network-manager.nix @@ -5,6 +5,10 @@ dns = "unbound"; }; + services.xserver.displayManager.sessionCommands = '' + ${pkgs.networkmanagerapplet}/bin/nm-applet & + ''; + environment.systemPackages = with pkgs; [ networkmanagerapplet ]; diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix index bdc522e..1d3501f 100644 --- a/modules/programs/window-manager.nix +++ b/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 = { |