2024-11-21 14:25:33 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
2025-01-13 17:59:00 +02:00
|
|
|
hardware.graphics = {
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
intel-media-driver
|
|
|
|
intel-compute-runtime
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2025-02-16 23:31:05 +02:00
|
|
|
services.logind.lidSwitch = if config.boot.resumeDevice != "" then "hibernate" else "suspend";
|
2024-11-21 14:25:33 +02:00
|
|
|
}
|