mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:59:23 +08:00
intel: allow to use modesetting driver
This commit is contained in:
@@ -112,16 +112,7 @@ inputs:
|
||||
};
|
||||
}
|
||||
)
|
||||
(
|
||||
mkIf (builtins.elem "intel" hardware.gpus)
|
||||
{
|
||||
services.xserver.deviceSection =
|
||||
''
|
||||
Identifier "Intel Graphics"
|
||||
Driver "intel"
|
||||
'';
|
||||
}
|
||||
)
|
||||
(mkIf (builtins.elem "intel" hardware.gpus) { services.xserver.deviceSection = ''Driver "modesetting"''; })
|
||||
# prime
|
||||
(
|
||||
mkIf hardware.prime.enable
|
||||
|
||||
Reference in New Issue
Block a user