mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-09-17 13:37:39 +03:00
Update activate.nixos
to take a configuration, not a derivation
This commit is contained in:
parent
1795c8aab4
commit
08c6bd8b73
@ -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";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user