nixos-generate-config can write incorrect unionfs #50848
Labels
0.kind: bug
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: nixos
Issue description
As of NixOS 18.09
nixos-generate-config
can write an incorrect unionfs mount when used on the livecd without--root /mnt
Here is the whole thing: https://gist.github.com/cyounkins/7b56d15576935cda5102be46edf43c4f
Steps to reproduce
nixos-generate-config
It should be incorrect to specify
device = "unionfs"
without union directories. Maybe we could also warn if we think the invocation is incorrect.Some authors of the script: @edolstra @wizeman
The text was updated successfully, but these errors were encountered: