Minor improvements and normalization towards Quartiq workflow #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "eduardotenholder/defenestrate:quartiq"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All warnings throughout the build process have been eliminated.
End users are in charge of i18n now, according to their individual desires.
A seal-off script takes care of the final setup steps.
Use Btrfs in favor of Ext4 for snapshots and enhanced user support.
@ -1,10 +1,8 @@
* Enter BIOS, disable secure boot, enable UEFI PXE network boot
* sudo auto-install
* sudo reboot
The issue with auto-reboot here is you need to monitor the installation and then select memtest86 after it has finished.
Either somehow set up the bootloader so it runs memtest86 on the first boot, or move memtest86 at the end (but user reboot is still necessary so it's not clear what has been added with auto-reboot, and also auto-reboot loses any messages printed by nixos-install), or revert this change.
@ -2,2 +2,3 @@
{
let
sealOff = pkgs.writeShellScriptBin "seal-off"
This stays in the final environment and pollutes it.
@ -48,2 +51,3 @@
documentation.man.enable = false;
nix.settings.trusted-public-keys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];
nix.settings.substituters = ["https://nixbld.m-labs.hk?priority=10"];
nix.settings.substituters = ["https://nixbld.m-labs.hk"];
The priority setting is there for a reason: most packages get downloaded from the LAN when we install here.
It's probably not what you want from Germany, so make it configurable (i.e. option in default.nix, which can be off by default, and which would be turned on when building the netboot image on nixbld).
@sb10q ?
@ -34,3 +34,3 @@
parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB
parted /dev/nvme0n1 -- set 2 esp on
mkfs.ext4 -L nixos /dev/nvme0n1p1
mkfs.btrfs -f -L nixos /dev/nvme0n1p1
According to Phoronix benchmarks, btrfs is slower than ext4 and I think most desktop users won't need the advanced btrfs features. Why do you want it?
If this is controversial we can also make it configurable at netboot image build time, just like the nixbld.m-labs.hk substituter priority.
Edited and merged non-controversial changes manually.
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.