2024-06-26 22:13:02 -04:00
|
|
|
inputs: {
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./cpu
|
|
|
|
./gpu
|
2024-06-26 22:22:14 -04:00
|
|
|
./laptop
|
2024-06-26 22:13:02 -04:00
|
|
|
./options.nix
|
|
|
|
./ssd
|
2024-06-26 23:57:41 -04:00
|
|
|
./sound
|
2024-06-26 22:13:02 -04:00
|
|
|
];
|
2024-06-26 23:57:41 -04:00
|
|
|
|
|
|
|
config = lib.mkIf config.ar.hardware.enable {
|
|
|
|
hardware = {
|
|
|
|
bluetooth.enable = true;
|
|
|
|
|
|
|
|
keyboard.qmk.enable = true;
|
|
|
|
|
|
|
|
logitech.wireless = {
|
|
|
|
enable = true;
|
|
|
|
enableGraphical = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
steam-hardware.enable = config.programs.steam.enable;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.logind.extraConfig = ''
|
|
|
|
# Don't shutdown when power button is short-pressed
|
|
|
|
HandlePowerKey=suspend
|
|
|
|
HandlePowerKeyLongPress=poweroff
|
|
|
|
'';
|
|
|
|
};
|
2024-06-26 22:13:02 -04:00
|
|
|
}
|