1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 18:43:34 +02:00
nixos-hardware/apple/default.nix
Yegor Timoshenko e228c7827b
apple: add hid_apple.iso_layout=0 kernel param
In my experience, this makes keyboard behavior match letters printed
on it both on EU and US keyboards.
2017-12-25 04:30:32 +00:00

13 lines
229 B
Nix

{ config, lib, ... }:
{
boot.kernelParams = [
"hid_apple.iso_layout=0"
];
hardware.facetimehd.enable = lib.mkDefault
(config.nixpkgs.config.allowUnfree or false);
services.mbpfan.enable = lib.mkDefault true;
}