Add federispitz configuration
This commit is contained in:
parent
64bcf75ead
commit
c754f862b6
5 changed files with 145 additions and 0 deletions
31
hardware/thinkpad-t470s.nix
Normal file
31
hardware/thinkpad-t470s.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
<nixos-hardware/lenovo/thinkpad/t470s>
|
||||
<nixos-hardware/common/pc/ssd>
|
||||
<nixos-hardware/common/pc/laptop>
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
|
||||
# Ignore Alcor smartcard (gpg is not very smart)
|
||||
# See https://ludovicrousseau.blogspot.com/2015/12/remove-andor-customize-pcsc-reader-names.html
|
||||
#systemd.services.pcscd.environment.PCSCLITE_FILTER_IGNORE_READER_NAMES =
|
||||
# "Alcor";
|
||||
|
||||
hardware.video.hidpi.enable = true;
|
||||
|
||||
# CPU Configuration
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
services.throttled.enable = true;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue