Files
nixos-configs/hosts/backwards/modules/tailscale/default.nix
T

26 lines
541 B
Nix

{ pkgs, ... }:
{
services.tailscale = {
enable = true;
# Required for the GNOME extension to control tailscale without root
extraSetFlags = [ "--operator=alex" ];
};
networking.firewall = {
checkReversePath = "loose";
allowedUDPPorts = [ 41641 ];
};
home-manager.users.alex = {
programs.gnome-shell = {
enable = true;
extensions = [
# Tailscale in the GNOME quick settings, including Mullvad exit nodes
{ package = pkgs.gnomeExtensions.tailscale-qs; }
];
};
};
}