Commit 98c52133 authored by Matthias Adamczyk's avatar Matthias Adamczyk
Browse files

modules/deploy: Remove experimental feature flag

Upstream has downgraded Nix to version 2.3 again which means the
`nix --extra-experimental-features` flag has disappeared from the
CLI again.
parent 54a8de43
......@@ -38,7 +38,7 @@ in {
set -xeo pipefail
export PATH=${with pkgs; lib.makeBinPath [ coreutils openssh nix ]}
export NIX_SSHOPTS="$NIX_SSHOPTS -p${toString cfg.ssh.port}"
nix --extra-experimental-features nix-command copy --no-check-sigs --to ssh://${cfg.ssh.host} ${config.system.build.toplevel}
nix copy --no-check-sigs --to ssh://${cfg.ssh.host} ${config.system.build.toplevel}
ssh $NIX_SSHOPTS ${cfg.ssh.host} "sudo nix-env -p /nix/var/nix/profiles/system -i ${config.system.build.toplevel}"
ssh $NIX_SSHOPTS ${cfg.ssh.host} "sudo /nix/var/nix/profiles/system/bin/switch-to-configuration $1"
'';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment