❄️ Dotfiles for our NixOS system configuration.
at master 303 B view raw
1{ 2 lib, 3 config, 4 types, 5 ... 6}: 7 8{ 9 options.hardware.bluetooth.enable = { 10 type = types.bool; 11 default = lib.stdenv.hostPlatform.isLinux; 12 description = "Enable Bluetooth support."; 13 }; 14 15 config = { 16 hardware.bluetooth.enable = lib.mkIf config.hardware.bluetooth.enable true; 17 }; 18}