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; }