mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore[work]: make app startup consistent
This commit is contained in:
parent
057e8959a0
commit
edf45b7be5
11 changed files with 418 additions and 46 deletions
8
modules/home/common/network-manager-applet.nix
Normal file
8
modules/home/common/network-manager-applet.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.swarselmodules.nm-applet = lib.mkEnableOption "enable network manager applet for tray";
|
||||
config = lib.mkIf config.swarselmodules.nm-applet {
|
||||
services.network-manager-applet.enable = true;
|
||||
xsession.preferStatusNotifierItems = true; # needed for indicator icon to show
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue