nixos/hosts/architect/tailscale.nix

23 lines
406 B
Nix
Raw Normal View History

{ lib, ... }:
let
network = import ./network.nix;
2023-02-11 02:29:48 +00:00
ifname = "ts0";
2023-02-11 02:29:48 +00:00
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
'';
2023-02-11 02:29:48 +00:00
}