mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
i bored
This commit is contained in:
1 parent
af3cb34b08
commit
bdcd502d5a
4 files changed
+27
-10
No files matched your search
@@ -98,6 +98,7 @@
|
|||||||
intel-gpu-tools
|
intel-gpu-tools
|
||||||
clinfo
|
clinfo
|
||||||
hidapi
|
hidapi
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
heroic
|
heroic
|
||||||
bottles
|
bottles
|
||||||
|
|||||||
@@ -111,6 +111,7 @@
|
|||||||
zig
|
zig
|
||||||
lua
|
lua
|
||||||
glm
|
glm
|
||||||
|
python3
|
||||||
|
|
||||||
# themes/icons
|
# themes/icons
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./opencore.nix
|
#./opencore.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||||
|
|||||||
+24
-9
@@ -7,6 +7,8 @@ let
|
|||||||
overlays = [ inputs.oceanix.overlays.default ];
|
overlays = [ inputs.oceanix.overlays.default ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mkData = inputs.oceanix.lib.oc.plist.mkData;
|
||||||
|
|
||||||
mkKext =
|
mkKext =
|
||||||
{
|
{
|
||||||
pname,
|
pname,
|
||||||
@@ -27,7 +29,12 @@ let
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
mkACPI = { pname, url, sha256 }:
|
mkACPI =
|
||||||
|
{
|
||||||
|
pname,
|
||||||
|
url,
|
||||||
|
sha256,
|
||||||
|
}:
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = pname;
|
name = pname;
|
||||||
src = pkgs.fetchurl { inherit url sha256; };
|
src = pkgs.fetchurl { inherit url sha256; };
|
||||||
@@ -38,6 +45,13 @@ let
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usbinjectall = mkKext {
|
||||||
|
pname = "usbinjectall";
|
||||||
|
version = "0.7.6";
|
||||||
|
url = "https://github.com/Sniki/OS-X-USB-Inject-All/releases/download/v0.7.6/USBInjectAll-0.7.6-RELEASE.zip";
|
||||||
|
sha256 = "sha256-7WoesI32zNBJhIwIhWxBTde4dX600WJn6IX51nLJIb0=";
|
||||||
|
};
|
||||||
|
|
||||||
ssdt-ec = mkACPI {
|
ssdt-ec = mkACPI {
|
||||||
pname = "SSDT-EC";
|
pname = "SSDT-EC";
|
||||||
url = "https://raw.githubusercontent.com/dortania/Getting-Started-With-ACPI/master/extra-files/compiled/SSDT-EC-LAPTOP.aml";
|
url = "https://raw.githubusercontent.com/dortania/Getting-Started-With-ACPI/master/extra-files/compiled/SSDT-EC-LAPTOP.aml";
|
||||||
@@ -81,6 +95,7 @@ let
|
|||||||
oceanixPkgs."applealc-latest-release"
|
oceanixPkgs."applealc-latest-release"
|
||||||
oceanixPkgs."intel-mausi-latest-release"
|
oceanixPkgs."intel-mausi-latest-release"
|
||||||
voodoops2
|
voodoops2
|
||||||
|
usbinjectall
|
||||||
ssdt-ec
|
ssdt-ec
|
||||||
ssdt-imei
|
ssdt-imei
|
||||||
ssdt-pnlf
|
ssdt-pnlf
|
||||||
@@ -95,6 +110,7 @@ let
|
|||||||
Kernel.Add."AppleALC.kext".Enabled = true;
|
Kernel.Add."AppleALC.kext".Enabled = true;
|
||||||
Kernel.Add."IntelMausi.kext".Enabled = true;
|
Kernel.Add."IntelMausi.kext".Enabled = true;
|
||||||
Kernel.Add."VoodooPS2Controller.kext".Enabled = true;
|
Kernel.Add."VoodooPS2Controller.kext".Enabled = true;
|
||||||
|
Kernel.Add."USBInjectAll.kext".Enabled = true;
|
||||||
|
|
||||||
Kernel.Quirks = {
|
Kernel.Quirks = {
|
||||||
AppleCpuPmCfgLock = true;
|
AppleCpuPmCfgLock = true;
|
||||||
@@ -124,19 +140,16 @@ let
|
|||||||
EnableSafeModeSlide = true;
|
EnableSafeModeSlide = true;
|
||||||
ProvideCustomSlide = true;
|
ProvideCustomSlide = true;
|
||||||
EnableWriteUnprotector = true;
|
EnableWriteUnprotector = true;
|
||||||
RebuildAppleMemoryMap = false;
|
RebuildAppleMemoryMap = true;
|
||||||
SetupVirtualMap = true;
|
SetupVirtualMap = true;
|
||||||
SyncRuntimePermissions = false;
|
SyncRuntimePermissions = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
DeviceProperties.Add."PciRoot(0x0)/Pci(0x2,0x0)" = {
|
|
||||||
"AAPL,ig-platform-id" = "09006601";
|
|
||||||
};
|
|
||||||
|
|
||||||
NVRAM.Add."7C436110-AB2A-4BBB-A880-FE41995C9F82" = {
|
NVRAM.Add."7C436110-AB2A-4BBB-A880-FE41995C9F82" = {
|
||||||
"boot-args" = "-v keepsyms=1 debug=0x100 -igfxvesa -no_compat_check";
|
"boot-args" = "-v keepsyms=1 debug=0x100 -f -igfxvesa -no_compat_check";
|
||||||
"csr-active-config" = pkgs.lib.mkForce "AwgAAA==";
|
"csr-active-config" = pkgs.lib.mkForce "FF0F0000";
|
||||||
|
"prev-lang:kbd" = "en-US:0";
|
||||||
};
|
};
|
||||||
|
|
||||||
NVRAM.Add."4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" = {
|
NVRAM.Add."4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" = {
|
||||||
@@ -148,12 +161,13 @@ let
|
|||||||
Misc.Boot.PickerAttributes = 144;
|
Misc.Boot.PickerAttributes = 144;
|
||||||
Misc.Boot.Timeout = 15;
|
Misc.Boot.Timeout = 15;
|
||||||
Misc.Boot.HideAuxiliary = true;
|
Misc.Boot.HideAuxiliary = true;
|
||||||
|
|
||||||
Misc.Debug = {
|
Misc.Debug = {
|
||||||
AppleDebug = true;
|
AppleDebug = true;
|
||||||
ApplePanic = true;
|
ApplePanic = true;
|
||||||
DisableWatchDog = true;
|
DisableWatchDog = true;
|
||||||
DisplayLevel = 2147483650;
|
DisplayLevel = 2147483650;
|
||||||
Target = 3;
|
Target = 67;
|
||||||
};
|
};
|
||||||
|
|
||||||
PlatformInfo = {
|
PlatformInfo = {
|
||||||
@@ -184,6 +198,7 @@ let
|
|||||||
UEFI.Output.ProvideConsoleGop = true;
|
UEFI.Output.ProvideConsoleGop = true;
|
||||||
UEFI.Output.Resolution = "1366x768";
|
UEFI.Output.Resolution = "1366x768";
|
||||||
UEFI.Output.TextRenderer = "BuiltinGraphics";
|
UEFI.Output.TextRenderer = "BuiltinGraphics";
|
||||||
|
|
||||||
UEFI.AppleInput = {
|
UEFI.AppleInput = {
|
||||||
AppleEvent = "Builtin";
|
AppleEvent = "Builtin";
|
||||||
CustomDelays = false;
|
CustomDelays = false;
|
||||||
|
|||||||
Reference in new issue
Block a user