⚙️ add morph ops to deploy

This commit is contained in:
2021-04-26 20:28:47 -04:00
parent 3033e1544d
commit c24864f12b
5 changed files with 109 additions and 4 deletions

39
ops/aristotle.nix Normal file
View File

@ -0,0 +1,39 @@
{
network = { description = "RPi 4 cluster"; };
agent = { config, pkgs, ... }: {
imports = [ ../hosts/aristotle/configuration.nix ];
networking.hostName = "agent";
nixpkgs.system = "aarch64-linux";
deployment.targetHost = "192.168.6.200";
deployment.targetUser = "root";
};
form = { config, pkgs, ... }: {
imports = [ ../hosts/aristotle/configuration.nix ];
networking.hostName = "form";
nixpkgs.system = "aarch64-linux";
deployment.targetHost = "192.168.6.201";
deployment.targetUser = "root";
};
matter = { config, pkgs, ... }: {
imports = [ ../hosts/aristotle/configuration.nix ];
networking.hostName = "matter";
nixpkgs.system = "aarch64-linux";
deployment.targetHost = "192.168.6.202";
deployment.targetUser = "root";
};
purpose = { config, pkgs, ... }: {
imports = [ ../hosts/aristotle/configuration.nix ];
networking.hostName = "purpose";
nixpkgs.system = "aarch64-linux";
deployment.targetHost = "192.168.6.203";
deployment.targetUser = "root";
};
}