mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
26 lines
712 B
Nix
26 lines
712 B
Nix
{ inputs, ... }@flakeContext:
|
|
{
|
|
deploy = {
|
|
sshUser = "oqyude";
|
|
user = "root";
|
|
nodes = {
|
|
sapphira = {
|
|
hostname = "sapphira";
|
|
profiles.system = {
|
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
|
|
};
|
|
};
|
|
otreca = {
|
|
hostname = "otreca";
|
|
profiles.system = {
|
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.otreca;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
# This is highly advised, and will prevent many possible mistakes
|
|
checks = builtins.mapAttrs (
|
|
system: deployLib: deployLib.deployChecks inputs.self.deploy
|
|
) inputs.deploy-rs.lib;
|
|
}
|