Move Mac keys into its own Nix file
This commit is contained in:
parent
a15a93a317
commit
2552eefc61
4 changed files with 11 additions and 9 deletions
|
@ -55,11 +55,6 @@ in {
|
|||
ntfs = true;
|
||||
zfs = lib.mkForce false;
|
||||
};
|
||||
|
||||
# Modprobe settings
|
||||
extraModprobeConfig = ''
|
||||
options hid_apple fnmode=2
|
||||
'';
|
||||
};
|
||||
|
||||
# Additional entry to boot from the second GPU
|
||||
|
|
6
nixos/hardware/mackeys.nix
Normal file
6
nixos/hardware/mackeys.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
# Forces the function keys to work right on Macbooks
|
||||
boot.extraModprobeConfig = ''
|
||||
options hid_apple fnmode=2
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue