$ nix run github:nix-community/nixos-generators – --format proxmox-lxc
error: experimental Nix feature ‘nix-command’ is disabled; add ‘–extra-experimental-features nix-command’ to enable it
I tried adding --extra-experimental-features in just about every position but nothing worked. What to do?
Have you just added --extra-experimental-features or have you also added nix-command? e.g. nix run --extra-experimental-features nix-command github:nix-community/nixos-generators –- --format proxmox-lxc
That flag lets you specify experimental features to temporarily enable, it doesn’t add any by itself.
to /etc/nixos/configuration.nix and then nixos-rebuild switch but:
[mounty@ida:~]$ nix run github:nix-community/nixos-generators – --format proxmox-lxc
error: unrecognised flag ‘–format’
Try ‘nix --help’ for more information.
[mounty@ida:~]$ nix run --extra-experimental-features nix-command github:nix-community/nixos-generators –- --format proxmox-lxc
error: unrecognised flag ‘–format’
Try ‘nix --help’ for more information.