nixos-config/modules/nixos/profiles/desktop/hardware.nix
Gabriel Arazas 3cafa9f613
nixos/suites/desktop: modularize submodules into dedicated profiles
It's practically enabled every time so why not set them as profiles instead.
The structure should be enough for some control over what is enabled.
2024-01-25 18:52:07 +08:00

17 lines
518 B
Nix

# A bunch of common hardware settings for desktop systems. Mostly, we're just
# adding drivers for common gaming peripherals.
{ lib, ... }:
{
# Enable tablet support with OpenTabletDriver.
hardware.opentabletdriver.enable = lib.mkDefault true;
# Enable support for Bluetooth.
hardware.bluetooth.enable = lib.mkDefault true;
# Enable yer game controllers.
hardware.steam-hardware.enable = lib.mkDefault true;
hardware.xone.enable = lib.mkDefault true;
hardware.xpadneo.enable = lib.mkDefault true;
}