make vno1-gdrx deployable

This commit is contained in:
Motiejus Jakštys 2024-08-05 16:41:24 +03:00
parent 2939d718f6
commit bb925ba09b
3 changed files with 21 additions and 5 deletions

View File

@ -141,7 +141,7 @@
age.secrets = { age.secrets = {
motiejus-work-passwd-hash.file = ./secrets/motiejus_work_passwd_hash.age; motiejus-work-passwd-hash.file = ./secrets/motiejus_work_passwd_hash.age;
root-work-passwd-hash.file = ./secrets/root_work_passwd_hash.age; root-work-passwd-hash.file = ./secrets/root_work_passwd_hash.age;
#sasl-passwd.file = ./secrets/postfix_sasl_passwd.age; sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
syncthing-key.file = ./secrets/mtworx/syncthing/key.pem.age; syncthing-key.file = ./secrets/mtworx/syncthing/key.pem.age;
syncthing-cert.file = ./secrets/mtworx/syncthing/cert.pem.age; syncthing-cert.file = ./secrets/mtworx/syncthing/cert.pem.age;
@ -290,6 +290,17 @@
}; };
}; };
vno1-gdrx = {
hostname = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP;
profiles = {
system = {
sshUser = "motiejus";
path = self.nixosConfigurations.vno1-gdrx.pkgs.deploy-rs.lib.activate.nixos self.nixosConfigurations.vno1-gdrx;
user = "root";
};
};
};
vno3-rp3b = { vno3-rp3b = {
hostname = myData.hosts."vno3-rp3b.servers.jakst".jakstIP; hostname = myData.hosts."vno3-rp3b.servers.jakst".jakstIP;
profiles = { profiles = {

View File

@ -333,6 +333,7 @@ in
"fwminex.servers.jakst" "fwminex.servers.jakst"
"mtworx.motiejus.jakst" "mtworx.motiejus.jakst"
"vno3-rp3b.servers.jakst" "vno3-rp3b.servers.jakst"
"vno1-gdrx.motiejus.jakst"
]; ];
}; };
@ -532,6 +533,10 @@ in
derivationTarget = ".#mtworx"; derivationTarget = ".#mtworx";
pingTarget = myData.hosts."mtworx.motiejus.jakst".jakstIP; pingTarget = myData.hosts."mtworx.motiejus.jakst".jakstIP;
} }
{
derivationTarget = ".#vno1-gdrx";
pingTarget = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP;
}
]; ];
}; };

View File

@ -128,10 +128,10 @@ in
}; };
}; };
#postfix = { postfix = {
# enable = true; enable = true;
# saslPasswdPath = config.age.secrets.sasl-passwd.path; saslPasswdPath = config.age.secrets.sasl-passwd.path;
#}; };
syncthing = { syncthing = {
enable = true; enable = true;