07-02-2020, 09:52 AM
(This post was last modified: 07-02-2020, 09:59 AM by theotherjimmy.)
(07-01-2020, 06:48 PM)_hg_ Wrote:
- Before building, make sure you are on the right channel with "nix-channel --list". I wanted 20.03 but was on unstable, so I had to run "nix-channel --add https://channels.nixos.org/nixos-20.03" followed by "nix-channel --update".
I don't think this step is needed, as the channel is specified in the nix expression here https://github.com/samueldr/wip-pinebook...ult.nix#L2.
It's also worth noting that you can use nixos-install to install the system to the SD or eMMC once on the PBP. I had good luck with this method in my setup. This also allows you a chance to create your own partition layout and tweak the /etc/nixos/configuration.nix for the first generation. For example, I use ZFS following the technique in https://grahamc.com/blog/erase-your-darlings on my PBP eMMC, with good results.
These steps look great! Perhaps these should be added to the repo?