I ran nixos-shell --version, and it started up a vm with my nixos config, and due to the default of mounting the home directory, it messed up my host's Xorg session.
I've also in the past entered nixos-shell when I meant to enter nix-shell.
I think a nice simple way to prevent this is to prompt for confirmation before creating a default vm config.
This is on v2.1.0
I ran
nixos-shell --version, and it started up a vm with my nixos config, and due to the default of mounting the home directory, it messed up my host's Xorg session.I've also in the past entered
nixos-shellwhen I meant to enternix-shell.I think a nice simple way to prevent this is to prompt for confirmation before creating a default vm config.
This is on v2.1.0