1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

thinkpad: common.nix -> default.nix + fixup after intel.nix drop

This commit is contained in:
Yegor Timoshenko 2017-12-24 01:13:08 +00:00
parent 0c17d72838
commit 67cd7af6be
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210
6 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
imports = [ ../. ];
boot = {
kernelParams = [
"drm.debug=0"

View file

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
imports = [ ../. ];
boot = {
extraModprobeConfig = ''
options bbswitch use_acpi_to_detect_card_state=1

View file

@ -2,6 +2,7 @@
{
imports = [
../.
../lib/kernel-version.nix
];

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [ ../common.nix ];
imports = [ ../. ];
boot = {
# wireless

View file

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
imports = [ ../intel.nix ];
imports = [ ../. ];
# hard disk protection if the laptop falls
services.hdapsd.enable = true;
@ -11,4 +11,6 @@
#security.pam.services.login.fprintAuth = true;
#security.pam.services.xscreensaver.fprintAuth = true;
# similarly for other PAM providers
services.xserver.videoDrivers = [ "intel" ];
}