Change host names
This commit is contained in:
parent
f7d1e8ee17
commit
791a07f733
|
@ -171,12 +171,11 @@
|
||||||
sops.secrets."tinc/ed25519-private-key" = { };
|
sops.secrets."tinc/ed25519-private-key" = { };
|
||||||
services.my-tinc = {
|
services.my-tinc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "macbook-nixos";
|
hostName = "macbooknix";
|
||||||
ed25519PrivateKey = config.sops.secrets."tinc/ed25519-private-key".path;
|
ed25519PrivateKey = config.sops.secrets."tinc/ed25519-private-key".path;
|
||||||
bindPort = 6565;
|
bindPort = 6565;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
Loading…
Reference in a new issue