yarn: deploy-rs

This commit is contained in:
2025-11-16 19:30:08 -05:00
parent 84136a4af6
commit ff84a3bb94
5 changed files with 214 additions and 35 deletions

View File

@@ -57,6 +57,11 @@
url = "github:nix-community/impermanence";
inputs.nixpkgs.follows = "nixpkgs";
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@@ -66,6 +71,7 @@
lanzaboote,
nixos-hardware,
home-manager,
deploy-rs,
...
}@inputs:
let
@@ -78,6 +84,7 @@
in
{
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
nixosConfigurations = nixpkgs.lib.foldl' (
config: hostname:
config
@@ -110,5 +117,14 @@
};
}
) { } hostnames;
# Deploy-rs configuration for yarn host only
deploy.nodes.yarn = {
hostname = "desktop";
profiles.system = {
user = "root";
path = deploy-rs.lib.${system}.activate.nixos self.nixosConfigurations.yarn;
};
};
};
}