make vno1-gdrx deployable
This commit is contained in:
parent
2939d718f6
commit
bb925ba09b
13
flake.nix
13
flake.nix
@ -141,7 +141,7 @@
|
||||
age.secrets = {
|
||||
motiejus-work-passwd-hash.file = ./secrets/motiejus_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-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 = {
|
||||
hostname = myData.hosts."vno3-rp3b.servers.jakst".jakstIP;
|
||||
profiles = {
|
||||
|
@ -333,6 +333,7 @@ in
|
||||
"fwminex.servers.jakst"
|
||||
"mtworx.motiejus.jakst"
|
||||
"vno3-rp3b.servers.jakst"
|
||||
"vno1-gdrx.motiejus.jakst"
|
||||
];
|
||||
};
|
||||
|
||||
@ -532,6 +533,10 @@ in
|
||||
derivationTarget = ".#mtworx";
|
||||
pingTarget = myData.hosts."mtworx.motiejus.jakst".jakstIP;
|
||||
}
|
||||
{
|
||||
derivationTarget = ".#vno1-gdrx";
|
||||
pingTarget = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -128,10 +128,10 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
#postfix = {
|
||||
# enable = true;
|
||||
# saslPasswdPath = config.age.secrets.sasl-passwd.path;
|
||||
#};
|
||||
postfix = {
|
||||
enable = true;
|
||||
saslPasswdPath = config.age.secrets.sasl-passwd.path;
|
||||
};
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user