Rename to tinc-friendly names
This commit is contained in:
parent
cd35436110
commit
0ebd6939c6
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
# TODO: Edit the list of hosts here.
|
||||
nki-cloud = {
|
||||
cloud = {
|
||||
subnetAddr = "11.0.0.1";
|
||||
address = "nki.personal";
|
||||
rsaPublicKey = builtins.readFile ./nki-cloud.pub;
|
||||
};
|
||||
|
||||
nki-macbook = {
|
||||
macbook = {
|
||||
subnetAddr = "11.0.0.3";
|
||||
rsaPublicKey = builtins.readFile ./nki-macbook.pub;
|
||||
ed25519PublicKey = "lkNkBTl5GmcQFrtA7F1nN2gq5gFK7KuGqHUN8fiJU7H";
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
# tinc
|
||||
services.my-tinc.enable = true;
|
||||
services.my-tinc.hostName = "nki-cloud";
|
||||
services.my-tinc.hostName = "cloud";
|
||||
sops.secrets.tinc-private-key = {};
|
||||
services.my-tinc.rsaPrivateKey = config.sops.secrets.tinc-private-key.path;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue