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

nixos-anywhere: move unmount into reboot phase #398

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

Enzime
Copy link
Member

@Enzime Enzime commented Sep 28, 2024

This means that users can now access the mounted filesystems by omitting the reboot phase.

You can combine this with --disko-mode mount to mount and upgrade an existing system before running nixos-enter to run commands on it.

$ nixos-anywhere --disko-mode mount --phases kexec,disko,install

@Mic92 I wonder if it would be worth adding a separate unmount phase

This means that users can now access the mounted filesystems by omitting
the `reboot` phase.

You can combine this with `--disko-mode mount` to mount and upgrade an
existing system before running `nixos-enter` to run commands on it.

    $ nixos-anywhere --disko-mode mount --phases kexec,disko,install
@Mic92
Copy link
Member

Mic92 commented Sep 28, 2024

We can add one, if requested. But I don't have a good use case for this in mind just now.

@Mic92
Copy link
Member

Mic92 commented Sep 28, 2024

@mergify queue

Copy link
Contributor

mergify bot commented Sep 28, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at b6168ba

@mergify mergify bot merged commit b6168ba into nix-community:main Sep 28, 2024
5 checks passed
@Enzime Enzime deleted the unmount branch September 28, 2024 13:53
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