configure nm-applet and blueman via home-manager
This commit is contained in:
parent
853b8fa050
commit
43b0973d19
5 changed files with 11 additions and 5 deletions
|
@ -164,9 +164,5 @@ in
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
# Enable blueman-applet when the machine has bluetooth enabled
|
||||
services.blueman-applet.enable = config.hardware.bluetooth.enable == true;
|
||||
|
||||
};
|
||||
}
|
||||
|
|
5
home-manager/modules/blueman-applet.nix
Normal file
5
home-manager/modules/blueman-applet.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ nixosConfig, ... }:
|
||||
{
|
||||
# Enable blueman-applet when the machine has bluetooth enabled
|
||||
services.blueman-applet.enable = nixosConfig.services.blueman.enable == true;
|
||||
}
|
5
home-manager/modules/nm-applet.nix
Normal file
5
home-manager/modules/nm-applet.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue