mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-01 05:23:29 +01:00
https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr
14 lines
260 B
Nix
14 lines
260 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
boot.kernelParams = [
|
|
"hid_apple.swap_opt_cmd=1"
|
|
"hid_apple.iso_layout=0"
|
|
];
|
|
|
|
hardware.facetimehd.enable = lib.mkDefault
|
|
(config.nixpkgs.config.allowUnfree or false);
|
|
|
|
services.mbpfan.enable = lib.mkDefault true;
|
|
}
|