configure nm-applet and blueman via home-manager

This commit is contained in:
fleaz 2024-11-19 21:36:50 +01:00
parent 853b8fa050
commit 43b0973d19
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
5 changed files with 11 additions and 5 deletions

View file

@ -164,9 +164,5 @@ in
};
};
# Enable blueman-applet when the machine has bluetooth enabled
services.blueman-applet.enable = config.hardware.bluetooth.enable == true;
};
}

View file

@ -0,0 +1,5 @@
{ nixosConfig, ... }:
{
# Enable blueman-applet when the machine has bluetooth enabled
services.blueman-applet.enable = nixosConfig.services.blueman.enable == true;
}

View file

@ -0,0 +1,5 @@
{ nixosConfig, ... }:
{
# Enable nm-applet when the machine has networkmanager enabled
services.network-manager-applet.enable = nixosConfig.networking.networkmanager.enable == true;
}