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:
parent
db59e49b6f
commit
5c1b981f35
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue