mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +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, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"drm.debug=0"
|
"drm.debug=0"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options bbswitch use_acpi_to_detect_card_state=1
|
options bbswitch use_acpi_to_detect_card_state=1
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
../.
|
||||||
../lib/kernel-version.nix
|
../lib/kernel-version.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../common.nix ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# wireless
|
# wireless
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../intel.nix ];
|
imports = [ ../. ];
|
||||||
|
|
||||||
# hard disk protection if the laptop falls
|
# hard disk protection if the laptop falls
|
||||||
services.hdapsd.enable = true;
|
services.hdapsd.enable = true;
|
||||||
|
@ -11,4 +11,6 @@
|
||||||
#security.pam.services.login.fprintAuth = true;
|
#security.pam.services.login.fprintAuth = true;
|
||||||
#security.pam.services.xscreensaver.fprintAuth = true;
|
#security.pam.services.xscreensaver.fprintAuth = true;
|
||||||
# similarly for other PAM providers
|
# similarly for other PAM providers
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "intel" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue