Add Tailscale module

This commit is contained in:
2026-01-04 13:49:01 +01:00
parent 2881d84c16
commit b8a7ead4be
5 changed files with 30 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ _: {
gamescope.enable = false; # Gamescope: microcompositor for games gamescope.enable = false; # Gamescope: microcompositor for games
steam.enable = true; # Steam: platform for buying and playing games steam.enable = true; # Steam: platform for buying and playing games
/*
Networking
*/
tailscale.enable = false; # Tailscale: secure network for remote access
packages = { packages = {
/* /*
Container & Packaging Container & Packaging

View File

@@ -12,6 +12,11 @@ _: {
}; };
}; };
/*
Networking
*/
tailscale.enable = false; # Tailscale: secure network for remote access
/* /*
Gaming Gaming
*/ */

View File

@@ -12,6 +12,11 @@ _: {
}; };
}; };
/*
Networking
*/
tailscale.enable = false; # Tailscale: secure network for remote access
/* /*
Gaming Gaming
*/ */

View File

@@ -19,6 +19,7 @@
./stylix.nix ./stylix.nix
./syncthing.nix ./syncthing.nix
./system.nix ./system.nix
./tailscale.nix
./thunar.nix ./thunar.nix
./user.nix ./user.nix
./xdg.nix ./xdg.nix

View File

@@ -0,0 +1,14 @@
{
pkgs,
config,
lib,
...
}: {
options.tailscale.enable = lib.mkEnableOption "Tailscale";
config.services.tailscale = lib.mkIf config.tailscale.enable {
enable = true;
package = pkgs.tailscale;
openFirewall = true;
};
}