diff --git a/flake.nix b/flake.nix index f9ce3d8..cff0620 100644 --- a/flake.nix +++ b/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; + }; + }; + }; }; }