m x: replace laptop with new x230 (without coreboot)
This commit is contained in:
parent
d5f26f2831
commit
3f3325a55e
@ -9,20 +9,26 @@ with import <stockholm/lib>;
|
|||||||
kernelModules = [
|
kernelModules = [
|
||||||
"kvm-intel"
|
"kvm-intel"
|
||||||
"thinkpad_ec"
|
"thinkpad_ec"
|
||||||
# "acpi_call"
|
"acpi_call"
|
||||||
# "thinkpad_acpi"
|
# "thinkpad_acpi"
|
||||||
# "tpm-rng"
|
# "tpm-rng"
|
||||||
];
|
];
|
||||||
extraModulePackages = [
|
extraModulePackages = [
|
||||||
# config.boot.kernelPackages.acpi_call
|
config.boot.kernelPackages.acpi_call
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# configured media keys inside awesomerc
|
||||||
|
# sound.mediaKeys.enable = true;
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
services.acpid.enable = true;
|
services.acpid.enable = true;
|
||||||
hardware.opengl.extraPackages = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
|
hardware.opengl.extraPackages = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
videoDriver = "intel";
|
videoDriver = "intel";
|
||||||
deviceSection = ''
|
deviceSection = ''
|
||||||
Option "AccelMethod" "sna"
|
Option "AccelMethod" "sna"
|
||||||
|
Option "Backlight" "intel_backlight"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# no entropy source working
|
# no entropy source working
|
||||||
|
@ -364,6 +364,10 @@ globalkeys = awful.util.table.join(
|
|||||||
end,
|
end,
|
||||||
{description = "restore minimized", group = "client"}),
|
{description = "restore minimized", group = "client"}),
|
||||||
|
|
||||||
|
awful.key({ }, "XF86MonBrightnessUp", function ()
|
||||||
|
awful.util.spawn("xbacklight -inc 5", false) end),
|
||||||
|
awful.key({ }, "XF86MonBrightnessDown", function ()
|
||||||
|
awful.util.spawn("xbacklight -dec 5", false) end),
|
||||||
|
|
||||||
awful.key({ }, "XF86AudioRaiseVolume", function ()
|
awful.key({ }, "XF86AudioRaiseVolume", function ()
|
||||||
awful.util.spawn("amixer set Master 5%+", false) end),
|
awful.util.spawn("amixer set Master 5%+", false) end),
|
||||||
|
Loading…
Reference in New Issue
Block a user