Hello,
I am building with a flake nixosConfiguration for other machine. In my nixos machine all works like expected:
nixos-rebuild build --flake '.#rpi'
I tested on other non-nixos machine:
I open a shell with nixos-rebuild:
`nix-shell -E “with import {}; mkShell { buildInputs = [ (nixos {}).nixos-rebuild ]; }”
$ nixos-rebuild build --flake ‘.#rpi’
error: unrecognised flag ‘–experimental-features’
Try ‘nix --help’ for more information
`
This machine is non-nixos, Can I run this using “nix build” command?
Is it possible to fix “nixos-rebuild --flake”?