nix-community / nixos-anywhere

install nixos everywhere via ssh [maintainer=@numtide]
https://nix-community.github.io/nixos-anywhere/
MIT License
1.53k stars 106 forks source link

nixos-anywhere: move unmount into `reboot` phase #398

Closed Enzime closed 6 days ago

Enzime commented 6 days ago

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

Mic92 commented 6 days ago

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

Mic92 commented 6 days ago

@mergify queue

mergify[bot] commented 6 days ago

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at *b6168ba67a8fad0636b5111a906dfbdf3abe2dee*