From 11dc66df8afb1e6a183d952189c304d8a7c01f4e Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Mon, 18 Aug 2025 17:44:24 +0000 Subject: [PATCH] Move experimental-features to nix.conf --- .config/nix/nix.conf | 1 + .zshrc | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .config/nix/nix.conf 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?}" \