This commit is contained in:
2025-10-31 11:22:24 +03:00
parent 9448249897
commit 031e7a8013
2 changed files with 25 additions and 21 deletions
+23
View File
@@ -0,0 +1,23 @@
{ 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;
}
+2 -21
View File
@@ -109,29 +109,10 @@
flakeContext = { inherit inputs; };
in
{
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;
}
// (import ./home flakeContext)
// (import ./configurations flakeContext)
// (import ./deploy.nix flakeContext)
// (import ./home flakeContext)
// (import ./modules flakeContext)
// (import ./pkgs flakeContext);
}