Move Mac keys into its own Nix file

This commit is contained in:
Jimbo 2024-08-27 13:30:48 -04:00
parent a15a93a317
commit 2552eefc61
4 changed files with 11 additions and 9 deletions

View file

@ -1,8 +1,9 @@
{pkgs, ...}: {
# Theme QT apps
{
qt = {
enable = true;
style.name = "gtk2";
style = {
name = "gtk2";
};
platformTheme.name = "gtk2";
};
}

View file

@ -102,7 +102,7 @@
"${ws.w9}" = [{app_id = "thunderbird";}];
# Else
"${ws.w2}" = [{class = "SDL Application";} {class = "heroic";}];
"${ws.w2}" = [{class = "SDL Application";} {app_id = "heroic";}];
"${ws.w2a}" = [{app_id = "looking-glass-client";}];
"${ws.w4a}" = [{app_id = "com.obsproject.Studio";}];
};

View file

@ -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

View file

@ -0,0 +1,6 @@
{
# Forces the function keys to work right on Macbooks
boot.extraModprobeConfig = ''
options hid_apple fnmode=2
'';
}