Skip to content

Home directory mount default can be a footgun #167

Description

@chrissound

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions