nixos-config/modules/nixos/hardware/bluetooth/default.nix
Aleksandr Lebedev d260022cc8 Quickshell instead of waybar, swaync, hyprlock, etc...
Used dots for quickshell, that already existed and added virtual
keyboard to their lockscreen.

Fixed issue with emacs not starting

Deleted waybar config

Disabled blueman by default

Added xournalpp
2025-09-01 23:38:21 +02:00

34 lines
566 B
Nix

{
lib,
pkgs,
inputs,
namespace,
system,
target,
format,
virtual,
systems,
config,
...
}:
with lib;
with lib.${namespace}; let
cfg = config.${namespace}.hardware.bluetooth;
in {
options.${namespace}.hardware.bluetooth = with types; {
enable = mkBoolOpt false "Enable bluetooth support";
};
config = mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
};
};
};
#services.blueman.enable = true;
};
}