Refactor bluetooth configuration
This commit is contained in:
parent
d9cd7821a1
commit
d305535b01
10 changed files with 27 additions and 27 deletions
|
@ -1,16 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.core.bluetooth;
|
||||
in
|
||||
{
|
||||
options.features.core.bluetooth.enable = mkEnableOption "Enable bluetooth";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./avahi.nix
|
||||
./bluetooth.nix
|
||||
./dconf.nix
|
||||
./docker.nix
|
||||
./dwm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue