Skip to content

use ~/.local/share/nix/root/nix/ ? #39

@juhp

Description

@juhp

Upstream (pure) nix user sandboxing uses ~/.local/share/nix/root/nix/{store,var} by default.
For example this is what nix uses with user namespace sandboxing if one only installs fedora nix-core (ie with no system /nix).

Would it make sense to or have you considered bind mounting ~/.local/share/nix/root/nix/ instead of ~/.local/share/nix/?

This could avoid duplication of user nix roots between a host (or other toolbox containers) and nix-toolbox say, unless there is a reason not to do this.

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