layout "/nix" defines a new top-level directory "/nix"

sudo snap install ust2dsa error: cannot perform the following tasks:

  • Fetch and check assertions for snap “ust2dsa” (6) (layout “/nix” defines a new top-level directory “/nix”)