This commit is contained in:
2025-11-01 19:27:13 +03:00
parent d459bd5a2b
commit 476d6e081c
3 changed files with 28 additions and 11 deletions
+11 -6
View File
@@ -1,19 +1,24 @@
{ inputs, ... }@flakeContext:
let
user = "${inputs.zeroq-vars.devices.username}";
server = "${inputs.zeroq-vars.devices.server.hostname}";
vds = "${inputs.zeroq-vars.devices.vds.hostname}";
in
{
deploy = {
sshUser = "oqyude";
sshUser = "${user}";
user = "root";
nodes = {
sapphira = {
hostname = "sapphira";
"${server}" = {
hostname = "${server}";
profiles.system = {
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
};
};
otreca = {
hostname = "otreca";
"${vds}" = {
hostname = "${vds}";
profiles.system = {
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.otreca;
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations."${vds}";
};
};
};