Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify apple/t2/default.nix to use configured efiSysMountPoint #1320

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

3ulalia
Copy link

@3ulalia 3ulalia commented Jan 17, 2025

Description of changes

The configured option to use a custom bootx64.efi has a hard-coded path, which doesn't work for users (like myself) who have mounted their ESP in a different place. This PR uses the configured config.boot.loader.efi.efiSysMountPoint as the root dir to look for the EFI file.

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input <- will do once I make this pr :p

@3ulalia
Copy link
Author

3ulalia commented Jan 17, 2025

Well, this may pass tests but it makes my system nigh-unbootable. So I would probably not recommend this change.

@3ulalia
Copy link
Author

3ulalia commented Jan 17, 2025

Hmm. Okay. I may have spoken too soon. My laptop can boot, so it's probably not an issue with this module.

@Mic92
Copy link
Member

Mic92 commented Jan 19, 2025

So does the change work now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants