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" ];
}