nixos-rebuild: always set flakeFlags

Otherwise a rebuild can fail when a flake is autodetected
in /etc/nixos/flake.nix and the system doesn't have flakes
globally enabled.

K900 28dae620 2a93ea17

+1 -2
+1 -2
pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh
··· 20 copyClosureFlags=() 21 extraBuildFlags=() 22 lockFlags=() 23 - flakeFlags=() 24 action= 25 buildNix=1 26 fast= ··· 120 ;; 121 --flake) 122 flake="$1" 123 - flakeFlags=(--extra-experimental-features 'nix-command flakes') 124 shift 1 125 ;; 126 --no-flake)
··· 20 copyClosureFlags=() 21 extraBuildFlags=() 22 lockFlags=() 23 + flakeFlags=(--extra-experimental-features 'nix-command flakes') 24 action= 25 buildNix=1 26 fast= ··· 120 ;; 121 --flake) 122 flake="$1" 123 shift 1 124 ;; 125 --no-flake)