From 0ebd6939c69bdd9aa47ed27d37283b9fa92f55e5 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 28 Oct 2021 17:05:06 -0400 Subject: [PATCH] Rename to tinc-friendly names --- modules/my-tinc/hosts/default.nix | 4 ++-- nki-personal-do/configuration.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/my-tinc/hosts/default.nix b/modules/my-tinc/hosts/default.nix index ebcf590..0cd1f10 100644 --- a/modules/my-tinc/hosts/default.nix +++ b/modules/my-tinc/hosts/default.nix @@ -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"; diff --git a/nki-personal-do/configuration.nix b/nki-personal-do/configuration.nix index dde007c..6b79097 100644 --- a/nki-personal-do/configuration.nix +++ b/nki-personal-do/configuration.nix @@ -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; }