Add new storage1 deploy-rs config

This commit is contained in:
Paul-Henri Froidmont 2021-11-26 00:14:44 +01:00
parent f95db22474
commit 09d2ac3f05
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
5 changed files with 387 additions and 0 deletions

View file

@ -41,6 +41,20 @@
networking.hostName = "backend1";
networking.domain = "banditlair.com";
system.stateVersion = "21.05";
}
)
];
};
storage1 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./profiles/storage.nix
(
{
networking.hostName = "storage1";
networking.domain = "banditlair.com";
system.stateVersion = "21.05";
}
)
@ -65,6 +79,14 @@
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.backend1;
};
};
storage1 = {
hostname = "78.46.96.243";
profiles.system = {
user = "root";
sshUser = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.storage1;
};
};
};
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;