Commit 04b078dd authored by Naoki OKAMURA's avatar Naoki OKAMURA

improved: updated Xorg related configuration

parent e8c4882d
{ pkgs, ... }:
{ config, pkgs, ... }:
{
# Boot
# ====
......@@ -26,7 +26,7 @@
boot.kernelModules = [
"tcp_bbr"
];
# initrd
boot.initrd.luks.devices = [
{ name = "container";
......@@ -43,6 +43,7 @@
"snd_hda_intel.power_save=0"
"snd_hda_intel.power_save_controller=0"
"usb_storage.quirks=152d:0578:u"
# "video=HDMI-A-1:d"
];
boot.blacklistedKernelModules = [
......@@ -88,15 +89,12 @@
enable = true;
driSupport = true;
s3tcSupport = true;
extraPackages = [ pkgs.libGL_driver config.boot.kernelPackages.nvidia_x11.out ];
};
# Xorg
services.xserver.useGlamor = true;
services.xserver.videoDrivers = [ "i915" ];
services.xserver.deviceSection = ''
Option "SwapbuffersWait" "true"
Option "TearFree" "true"
'';
# webcam
# services.uvcvideo.dynctrl = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment