diff --git a/.config/nix/nix.conf b/.config/nix/nix.conf new file mode 100644 index 0000000..c7d7291 --- /dev/null +++ b/.config/nix/nix.conf @@ -0,0 +1 @@ +experimental-features = nix-command flakes diff --git a/.zshrc b/.zshrc index 1734c96..d1a1ce0 100644 --- a/.zshrc +++ b/.zshrc @@ -83,8 +83,7 @@ size: %{size_download}\n"' nix-deploy() { TARGET=$1 shift - nix run --extra-experimental-features 'nix-command flakes' \ - nixpkgs#nixos-rebuild -- switch \ + nix run nixpkgs#nixos-rebuild -- switch \ --flake ".#${TARGET?}" \ --target-host "${TARGET?}" \ --build-host "${TARGET?}" \