Unable to bind mount NetworkManager.conf.drv.chroot

Hi. I’m trying to install NixOS from Ubuntu but I failed.

sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt
building the configuration in /mnt/etc/nixos/configuration.nix...
trace: warning: The option `i18n.consoleKeyMap' defined in `/mnt/etc/nixos/configuration.nix' has been renamed to `console.keyMap'.
error: while setting up the build environment: unable to bind mount '/mnt/nix/store/65h8hpmlglgxjswbyimjkarwhd792jh6-NetworkManager.conf.drv.chroot': Permission denied

I’m running into this issue even after I reinstall Ubuntu. I also failed to build nivdia driver so I just disabled it. Thanks for any help!

Here is my configuration.nix

configuration.nix
{ config, pkgs, ... }: {
    imports =
        [ # Include the results of the hardware scan.
        ./hardware-configuration.nix
        ];
    boot.loader.systemd-boot.enable = true;
    boot.loader.efi.canTouchEfiVariables = true;
    boot.loader.grub = {
    enable = true;
    device = "nodev";
    efiSupport = true;
    useOSProber = true;
    extraEntries = ''
        menuentry "Ubuntu" {
            search --set=ubuntu --fs-uuid 45508ab8-2542-47c5-8159-0d9e4ef9e59c
            configfile "($ubuntu)/boot/grub/grub.cfg"
            }
        '';
    };
    networking.networkmanager.enable = true;
    i18n = {
        consoleKeyMap = "us";
        defaultLocale = "zh_CN.UTF-8";
        supportedLocales = [
            "zh_CN.UTF-8/UTF-8" "en_US.UTF-8/UTF-8"
        ];
        inputMethod = {
            enabled = "ibus";
            ibus.engines = with pkgs.ibus-engines; [ libpinyin ];
        };
    };
    nixpkgs.config.allowUnfree = true;
    programs.zsh.ohMyZsh = {
        enable = true;
        plugins = [
            "git" "python" "man"
        ];
        theme = "agnoster";
    };
    services.openssh.enable = true;
    services.dnscrypt-proxy.enable = true;
    services.flatpak.enable = true;
    sound.enable = true;
    hardware.pulseaudio.enable = true;
    services.xserver = {
        enable = true;
        desktopManager.xfce.enable = true;
        layout = "us";
        # videoDrivers = [ "nvidia" ];
        libinput.enable = true;
    };
    xdg.portal.enable = true;
    users.users.ult = {
        isNormalUser = true;
        home = "/home/ult";
        openssh.authorizedKeys.keys = [];
        extraGroups = [ "wheel" "networkmanager" ];
    };
    system.stateVersion = "20.03"; # Did you read the comment?
}