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

README instruction on which command to run #459

Closed
zmberber opened this issue Dec 5, 2023 · 0 comments
Closed

README instruction on which command to run #459

zmberber opened this issue Dec 5, 2023 · 0 comments

Comments

@zmberber
Copy link

zmberber commented Dec 5, 2023

The command for starting the partitioning process with disco in the README should include the flag --experimental-features "nix-command flakes", since when doing this in the most basic of setups, for example on a standard NixOS-installation live USB, it won't work without it. I think a lot of newer people not so familiar with nix that just want to use this and have it all work might not know this.

I personally would suggest putting the following two commands or something similar in the README:

# set `DISKNAME` to the name of the appropriate disk,
# e.g. `/dev/nvme0n1` or `/dev/sda`
DISKNAME="/dev/nvme0n1"
nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disko-config.nix --arg disks "[ \"$DISKNAME\" ]"
Mic92 added a commit that referenced this issue Dec 6, 2023
@mergify mergify bot closed this as completed in c7f594c Dec 6, 2023
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

No branches or pull requests

1 participant