infrastructure/hosts/silicium/system/hardware/default.nix

37 lines
633 B
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{...}: {
# hardware
hardware = {
enableRedistributableFirmware = true;
opengl = {
enable = true;
driSupport = true;
};
};
# logind configuration
services.logind = {
lidSwitch = "ignore";
extraConfig = ''
HandlePowerKey=suspend
'';
};
# tlp, power management
services.tlp.enable = true;
# thermald, controls temperature
services.thermald.enable = true;
# bluetooth
hardware.bluetooth.enable = true;
services.blueman.enable = true;
# backlight intensity
programs.light.enable = true;
# partitions and filesystems
2023-12-15 15:18:36 +00:00
imports = [
./partitions.nix
];
}