perf: Home-manager to module
feat: Optionise config
This commit is contained in:
14
modules/host/bluetooth.nix
Normal file
14
modules/host/bluetooth.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ config, lib, ... }: {
|
||||
hardware.bluetooth =
|
||||
lib.mkIf config.hardware.bluetooth.enable {
|
||||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
Experimental = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.blueman.enable = true;
|
||||
}
|
Reference in New Issue
Block a user