Rename to tinc-friendly names

This commit is contained in:
Natsu Kagami 2021-10-28 17:05:06 -04:00
parent cd35436110
commit 0ebd6939c6
2 changed files with 3 additions and 3 deletions

View file

@ -1,12 +1,12 @@
{ {
# TODO: Edit the list of hosts here. # TODO: Edit the list of hosts here.
nki-cloud = { cloud = {
subnetAddr = "11.0.0.1"; subnetAddr = "11.0.0.1";
address = "nki.personal"; address = "nki.personal";
rsaPublicKey = builtins.readFile ./nki-cloud.pub; rsaPublicKey = builtins.readFile ./nki-cloud.pub;
}; };
nki-macbook = { macbook = {
subnetAddr = "11.0.0.3"; subnetAddr = "11.0.0.3";
rsaPublicKey = builtins.readFile ./nki-macbook.pub; rsaPublicKey = builtins.readFile ./nki-macbook.pub;
ed25519PublicKey = "lkNkBTl5GmcQFrtA7F1nN2gq5gFK7KuGqHUN8fiJU7H"; ed25519PublicKey = "lkNkBTl5GmcQFrtA7F1nN2gq5gFK7KuGqHUN8fiJU7H";

View file

@ -27,7 +27,7 @@
# tinc # tinc
services.my-tinc.enable = true; services.my-tinc.enable = true;
services.my-tinc.hostName = "nki-cloud"; services.my-tinc.hostName = "cloud";
sops.secrets.tinc-private-key = {}; sops.secrets.tinc-private-key = {};
services.my-tinc.rsaPrivateKey = config.sops.secrets.tinc-private-key.path; services.my-tinc.rsaPrivateKey = config.sops.secrets.tinc-private-key.path;
} }