mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add new storage1 deploy-rs config
This commit is contained in:
parent
f95db22474
commit
09d2ac3f05
5 changed files with 387 additions and 0 deletions
22
flake.nix
22
flake.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue