-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Ran into some small issues while re-bootstrapping magnolia.
builds permission bug
error: Path /tmp/tmp.3GFAdnu6nm/nix/var/nix/builds or a parent directory is world-writable or a symlink. That's not allowed for security.
nixos-install is unhappy with now I mount into a tmpdir. /tmp can either be changed to 755 permissions at the start of hyperparabolic-install, or I could modify these scripts to use a static mount directory with similar permissions.
flake directory bug?
Somehow, nixos-install is looking for a flake in pwd?:
path '/home/spencer' does not contain a 'flake.nix', searching up
error: could not find a flake.nix file
This doesn't really make sense to me, as the install command is nixos-install --root "$MNT" --no-root-passwd --flake "${ARG_NIX_CONFIG_DIR}#${ARG_HOSTNAME}" and ARG_NIX_CONFIG_DIR doesn't have a way to ever be set to that? Might just be some change in behavior around the flake parameter? Not sure.
Either way, I should script up bootstrapping a VM to debug these.