diff --git a/profiles/bluetooth.nix b/profiles/bluetooth.nix new file mode 100644 index 0000000..33792d7 --- /dev/null +++ b/profiles/bluetooth.nix @@ -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; + }; +} diff --git a/profiles/default.nix b/profiles/default.nix index d726f32..30d76c2 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -2,6 +2,6 @@ { ... }: { imports = [ - # FIXME + ./bluetooth.nix ]; }