aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authornotgne22020-11-22 18:12:29 -0700
committernotgne22020-11-22 18:12:29 -0700
commit08c6bd8b73489d50a99129a22f559e6197892c23 (patch)
treefe8234bc2bc6072749bc34971a6e13605b2bf92f /examples
parent1795c8aab465606d615b56c73fe2c76112bf5ad7 (diff)
Update `activate.nixos` to take a configuration, not a derivation
Diffstat (limited to '')
-rw-r--r--examples/system/flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/system/flake.nix b/examples/system/flake.nix
index 021f9db..bcc841c 100644
--- a/examples/system/flake.nix
+++ b/examples/system/flake.nix
@@ -30,12 +30,12 @@
system = {
sshUser = "admin";
path =
- deploy-rs.lib.x86_64-linux.setActivate self.nixosConfigurations.example-nixos-system.config.system.build.toplevel "./bin/switch-to-configuration switch";
+ deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.example-nixos-system;
user = "root";
};
hello = {
sshUser = "hello";
- path = deploy-rs.lib.x86_64-linux.setActivate self.defaultPackage.x86_64-linux "./bin/activate";
+ path = deploy-rs.lib.x86_64-linux.activate.custom self.defaultPackage.x86_64-linux "./bin/activate";
user = "hello";
};
};