diff options
-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 04480a8c..322e2222 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 bdc522e6..1d3501fb 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 = { |