add deploy-rs
This commit is contained in:
parent
9142742c6c
commit
cbe75701cc
1 changed files with 11 additions and 0 deletions
11
flake.nix
11
flake.nix
|
|
@ -51,6 +51,7 @@
|
|||
self,
|
||||
nixpkgs,
|
||||
nix-on-droid,
|
||||
deploy-rs,
|
||||
...
|
||||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
|
@ -91,5 +92,15 @@
|
|||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
formatter.aarch64-linux = nixpkgs.legacyPackages.aarch64-linux.alejandra;
|
||||
deploy = {
|
||||
user = "root";
|
||||
nodes = {
|
||||
zero2w = {
|
||||
hostname = "harmonica";
|
||||
profiles.system.path =
|
||||
deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.zero2w;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue