nixos/hosts/architect/tailscale.nix
2023-02-08 08:41:59 +01:00

21 lines
407 B
Nix

{ lib, ... }:
let
network = import ./network.nix;
ifname = "ts0";
in {
services = {
tailscale = {
enable = true;
interfaceName = ifname;
};
};
networking.extraHosts = ''
${network.architect-ts} architect.devs.giugl.io
${network.giuliopc-ts} kmerr.devs.giugl.io
${network.dodino-ts} dodino.devs.giugl.io
${network.giuliophone-ts} chuck.devs.giugl.io
'';
}