Add Tailscale module
This commit is contained in:
@@ -19,6 +19,11 @@ _: {
|
||||
gamescope.enable = false; # Gamescope: micro‑compositor for games
|
||||
steam.enable = true; # Steam: platform for buying and playing games
|
||||
|
||||
/*
|
||||
Networking
|
||||
*/
|
||||
tailscale.enable = false; # Tailscale: secure network for remote access
|
||||
|
||||
packages = {
|
||||
/*
|
||||
Container & Packaging
|
||||
|
||||
@@ -12,6 +12,11 @@ _: {
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
Networking
|
||||
*/
|
||||
tailscale.enable = false; # Tailscale: secure network for remote access
|
||||
|
||||
/*
|
||||
Gaming
|
||||
*/
|
||||
|
||||
@@ -12,6 +12,11 @@ _: {
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
Networking
|
||||
*/
|
||||
tailscale.enable = false; # Tailscale: secure network for remote access
|
||||
|
||||
/*
|
||||
Gaming
|
||||
*/
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
./stylix.nix
|
||||
./syncthing.nix
|
||||
./system.nix
|
||||
./tailscale.nix
|
||||
./thunar.nix
|
||||
./user.nix
|
||||
./xdg.nix
|
||||
|
||||
14
modules/core/tailscale.nix
Normal file
14
modules/core/tailscale.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user