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

apple/macbookpro/11-5: init #68

Merged
merged 5 commits into from Jul 30, 2018

Conversation

rehno-lindeque
Copy link
Contributor

Similar to macbookpro/10-1 and macbookpro/12-1.

Includes (minimal) external wiki references as suggested by #41, but this commit can be dropped if it is considered out of scope.

@rehno-lindeque
Copy link
Contributor Author

Also added a fix for a spurious wakeup signal that I judged to be important enough to include in this initial PR.

<nixpkgs/nixos/modules/hardware/network/broadcom-43xx.nix>
];

boot.loader.systemd-boot.enable = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, seems reasonable to make this optional.

];

boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be only done for the first installation. Otherwise a new boot entry is created for every nixos-rebuild switch. This can fill up the nvram, which is also limited in terms of write-cycles.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, thank you. How about if I put these two lines as instructions in the README.md file instead?

I suppose macbook-pro/10-1 could also do with a PR to fix.

Would be nice to update the docs too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, sorry for the noise: Seeing as this config is already automatically generated by nixos-generate-config I suppose it really shouldn't be in this module at all.

I'll remove the boot loader completely if there's no objections.

@Mic92
Copy link
Member

Mic92 commented Jul 30, 2018

Looks good. Only merge conflicts needs to be resolved.

@rehno-lindeque rehno-lindeque force-pushed the apple/macbookpro/11-5/init branch 2 times, most recently from f33db96 to f0ffb9f Compare July 30, 2018 21:54
.wiki is just plain distracting to edit, markdown allows me to quickly write
up accompanying docs.
Since the boot loader is already automatically generated by
nixos-generate-config, there is no need to include it here.
@rehno-lindeque
Copy link
Contributor Author

OK, that ought do it

@Mic92 Mic92 merged commit 9af7aff into NixOS:master Jul 30, 2018
@Mic92 Mic92 mentioned this pull request Jul 30, 2018
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.

None yet

2 participants