deploy-local: Remove -L from nixos-rebuild

It currently wrongly passes this to nix-store, which does not take -L.
This commit is contained in:
Simon Bruder 2023-05-30 11:43:24 +02:00
parent 2f3d5c8b6b
commit 2221fcf6c1
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -111,7 +111,6 @@
${pkgs.nixos-rebuild}/bin/nixos-rebuild \
switch \
--flake .#${hostname} \
-L \
--build-host localhost \
--target-host root@${machine.config.deployment.targetHost} \
--use-substitutes