profiles: add bluetooth
This commit is contained in:
parent
0c943d8430
commit
885b45d39c
15
profiles/bluetooth.nix
Normal file
15
profiles/bluetooth.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.bluetooth;
|
||||
in
|
||||
{
|
||||
options.my.profiles.bluetooth = with lib; {
|
||||
enable = mkEnableOption "bluetooth profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.modules.bluetooth.enable = true;
|
||||
|
||||
my.home.bluetooth.enable = true;
|
||||
};
|
||||
}
|
|
@ -2,6 +2,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
# FIXME
|
||||
./bluetooth.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue