Configure remote deployment with deploy-rs

This commit is contained in:
SebastianStork 2024-09-06 17:26:22 +02:00
parent 6fe9cf2adc
commit 188a9b4e24
8 changed files with 117 additions and 19 deletions

View file

@ -25,13 +25,20 @@ let
);
};
};
in
{
flake.nixosConfigurations = lib.mkMerge [
(mkHost "north" unstable)
(mkHost "inspiron" unstable)
(mkHost "stratus" stable)
(mkHost "installer" stable)
];
flake = {
nixosConfigurations = lib.mkMerge [
(mkHost "north" unstable)
(mkHost "inspiron" unstable)
(mkHost "stratus" stable)
(mkHost "installer" stable)
];
deploy.nodes.stratus = {
hostname = "stratus";
sshUser = "root";
profiles.system.path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.stratus;
};
};
}