Move experimental-features to nix.conf
This commit is contained in:
1
.config/nix/nix.conf
Normal file
1
.config/nix/nix.conf
Normal file
@@ -0,0 +1 @@
|
||||
experimental-features = nix-command flakes
|
||||
3
.zshrc
3
.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?}" \
|
||||
|
||||
Reference in New Issue
Block a user