summaryrefslogtreecommitdiffstats
path: root/apple
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 04:30:32 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 04:30:32 +0000
commite228c7827b5ac2b08f07433aa8fbc8f2c41e85a5 (patch)
tree4e1f845e635a2db610fd525094b7864ca7fa2952 /apple
parenta5df61571cbe313861705a5573e9a6e8481cd224 (diff)
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.
Diffstat (limited to 'apple')
-rw-r--r--apple/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/apple/default.nix b/apple/default.nix
index 7237322..a2ee262 100644
--- a/apple/default.nix
+++ b/apple/default.nix
@@ -1,6 +1,10 @@
{ config, lib, ... }:
{
+ boot.kernelParams = [
+ "hid_apple.iso_layout=0"
+ ];
+
hardware.facetimehd.enable = lib.mkDefault
(config.nixpkgs.config.allowUnfree or false);