feat: Update to raspberry pi stuff
This commit is contained in:
22
nixos/tsuba/services/tailscale.nix
Normal file
22
nixos/tsuba/services/tailscale.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
# useRoutingFeatures = "both";
|
||||
# extraUpFlags = ["--advertise-routes=192.168.0.0/24"];
|
||||
};
|
||||
# networkd-dispatcher = {
|
||||
# enable = true;
|
||||
# rules."50-tailscale" = {
|
||||
# onState = ["routable"];
|
||||
# script = ''
|
||||
# ${lib.getExe pkgs.ethtool} -K en01 rx-udp-gro-forwarding on rg-xgro-list off
|
||||
# '';
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user