Move Mac keys into its own Nix file
This commit is contained in:
parent
a15a93a317
commit
2552eefc61
|
@ -1,8 +1,9 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
# Theme QT apps
|
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
style.name = "gtk2";
|
style = {
|
||||||
|
name = "gtk2";
|
||||||
|
};
|
||||||
platformTheme.name = "gtk2";
|
platformTheme.name = "gtk2";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
"${ws.w9}" = [{app_id = "thunderbird";}];
|
"${ws.w9}" = [{app_id = "thunderbird";}];
|
||||||
|
|
||||||
# Else
|
# Else
|
||||||
"${ws.w2}" = [{class = "SDL Application";} {class = "heroic";}];
|
"${ws.w2}" = [{class = "SDL Application";} {app_id = "heroic";}];
|
||||||
"${ws.w2a}" = [{app_id = "looking-glass-client";}];
|
"${ws.w2a}" = [{app_id = "looking-glass-client";}];
|
||||||
"${ws.w4a}" = [{app_id = "com.obsproject.Studio";}];
|
"${ws.w4a}" = [{app_id = "com.obsproject.Studio";}];
|
||||||
};
|
};
|
||||||
|
|
|
@ -55,11 +55,6 @@ in {
|
||||||
ntfs = true;
|
ntfs = true;
|
||||||
zfs = lib.mkForce false;
|
zfs = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Modprobe settings
|
|
||||||
extraModprobeConfig = ''
|
|
||||||
options hid_apple fnmode=2
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Additional entry to boot from the second GPU
|
# 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…
Reference in a new issue