1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/servnerr-4: enable tailscale

This commit is contained in:
Matt Layher 2023-07-22 09:28:19 -04:00
parent db59e49b6f
commit 5c1b981f35

View file

@ -1,6 +1,8 @@
{ lib, ... }:
{
let unstable = import <nixos-unstable-small> { };
in {
networking = {
# Host name and ID.
hostName = "servnerr-4";
@ -14,6 +16,12 @@
firewall.enable = false;
};
services.tailscale = {
enable = true;
package = unstable.tailscale;
interfaceName = "ts0";
};
systemd.network = {
enable = true;