nix-config/flake/deploy-rs.nix
Bruno BELANYI 723bc90852
Some checks are pending
ci/woodpecker/push/check Pipeline is pending
WIP: flake: add deploy-rs
2023-06-11 16:12:55 +01:00

27 lines
492 B
Nix

{ self, inputs, ... }:
let
inherit (inputs)
deploy-rs
;
inherit (self) lib;
in
{
perSystem = { system, ... }: {
checks = deploy-rs.lib.${system}.deployChecks self.deploy;
};
flake = {
deploy = {
nodes = {
porthos = {
hostname = "belanyi.fr";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.porthos;
};
};
};
};
};
}