mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
thinkpad: common.nix -> default.nix + fixup after intel.nix drop
This commit is contained in:
parent
0c17d72838
commit
67cd7af6be
6 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../. ];
|
||||
|
||||
boot = {
|
||||
kernelParams = [
|
||||
"drm.debug=0"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../. ];
|
||||
|
||||
boot = {
|
||||
extraModprobeConfig = ''
|
||||
options bbswitch use_acpi_to_detect_card_state=1
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
../.
|
||||
../lib/kernel-version.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../common.nix ];
|
||||
imports = [ ../. ];
|
||||
|
||||
boot = {
|
||||
# wireless
|
||||
|
|
|
@ -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" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue