i forgot how many times rebooting my pc

This commit is contained in:
elwrcl committed 2026-04-15 01:58:51 +03:00
1 parent f0d349c9c3
commit b9140228e7
1 file changed
+6 -11
+6 -11
View File
@@ -4,12 +4,6 @@ let
ocPath = "/boot/EFI/OC"; ocPath = "/boot/EFI/OC";
liminePath = "/boot/EFI/limine"; liminePath = "/boot/EFI/limine";
ocPkg = pkgs.fetchzip {
url = "https://github.com/acidanthera/OpenCorePkg/releases/download/1.0.1/OpenCore-1.0.1-RELEASE.zip";
sha256 = "sha256-uKn0HlXQLDgZaYjRL3QcoqZ3iji0klz4pxYoLphP5rs=";
stripRoot = false;
};
ocResources = pkgs.fetchzip { ocResources = pkgs.fetchzip {
url = "https://github.com/acidanthera/OcBinaryData/archive/refs/heads/master.zip"; url = "https://github.com/acidanthera/OcBinaryData/archive/refs/heads/master.zip";
sha256 = "sha256-B5CABp0Y2dAVuw7185suaUuryl3iII4QNBVBttivQ7Y="; sha256 = "sha256-B5CABp0Y2dAVuw7185suaUuryl3iII4QNBVBttivQ7Y=";
@@ -80,14 +74,15 @@ in
text = '' text = ''
echo "--- Kopurando In1t ---" echo "--- Kopurando In1t ---"
mkdir -p ${ocPath}/Drivers
mkdir -p ${ocPath}/Resources
mkdir -p ${liminePath} mkdir -p ${liminePath}
cp -f ${ocPkg}/X64/EFI/OC/Drivers/*.efi ${ocPath}/Drivers/ rm -rf ${ocPath}
cp -rf ${ocResources}/Resources/* ${ocPath}/Resources/ mkdir -p ${ocPath}
cp -f ${ocConfig.efiPackage}/EFI/OC/config.plist ${ocPath}/config.plist cp -rf ${ocConfig.efiPackage}/EFI/OC/* ${ocPath}/
mkdir -p ${ocPath}/Resources
cp -rf ${ocResources}/Resources/* ${ocPath}/Resources/
if [ -f ${pkgs.limine}/share/limine/BOOTX64.EFI ]; then if [ -f ${pkgs.limine}/share/limine/BOOTX64.EFI ]; then
cp -f ${pkgs.limine}/share/limine/BOOTX64.EFI ${liminePath}/BOOTX64.EFI cp -f ${pkgs.limine}/share/limine/BOOTX64.EFI ${liminePath}/BOOTX64.EFI