mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: ability to deploy oracle
This commit is contained in:
parent
eb789e65ed
commit
dad09ed8fd
2 changed files with 48 additions and 26 deletions
|
|
@ -5,18 +5,32 @@
|
|||
_system: deployLib: deployLib.deployChecks self.deploy
|
||||
) inputs.deploy-rs.lib;
|
||||
|
||||
flake.deploy.nodes =
|
||||
inputs.nixpkgs.lib.genAttrs
|
||||
[
|
||||
"carbon"
|
||||
"hydrogen"
|
||||
]
|
||||
(name: {
|
||||
hostname = name;
|
||||
sshUser = "root";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = self.nixosConfigurations.${name}.deploy;
|
||||
};
|
||||
});
|
||||
flake.deploy.nodes = {
|
||||
carbon = {
|
||||
hostname = "carbon";
|
||||
sshUser = "root";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = self.nixosConfigurations.carbon.deploy;
|
||||
};
|
||||
};
|
||||
|
||||
hydrogen = {
|
||||
hostname = "hydrogen";
|
||||
sshUser = "root";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = self.nixosConfigurations.hydrogen.deploy;
|
||||
};
|
||||
};
|
||||
|
||||
oracle = {
|
||||
hostname = "oracle";
|
||||
sshUser = "ubuntu";
|
||||
profiles.system = {
|
||||
user = "ubuntu";
|
||||
path = self.homeConfigurations.oracle.deploy;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue