]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - overlays/morph/verbose_nix.patch
Migrate to morph as a replacement to nixops
[perso/Immae/Config/Nix.git] / overlays / morph / verbose_nix.patch
diff --git a/overlays/morph/verbose_nix.patch b/overlays/morph/verbose_nix.patch
new file mode 100644 (file)
index 0000000..389a79c
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/nix/nix.go b/nix/nix.go
+index bb63870..7fe04aa 100644
+--- a/nix/nix.go
++++ b/nix/nix.go
+@@ -347,6 +347,7 @@ func Push(ctx *ssh.SSHContext, host Host, paths ...string) (err error) {
+       options := mkOptions(host)
+       for _, path := range paths {
+               args := []string{
++                      "-v",
+                       "copy",
+                       path,
+                       "--to", "ssh://" + userArg + host.TargetHost + keyArg,