Add Tailscale module
This commit is contained in:
@@ -19,6 +19,11 @@ _: {
|
|||||||
gamescope.enable = false; # Gamescope: micro‑compositor for games
|
gamescope.enable = false; # Gamescope: micro‑compositor 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
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ _: {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
Networking
|
||||||
|
*/
|
||||||
|
tailscale.enable = false; # Tailscale: secure network for remote access
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Gaming
|
Gaming
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ _: {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
Networking
|
||||||
|
*/
|
||||||
|
tailscale.enable = false; # Tailscale: secure network for remote access
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Gaming
|
Gaming
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
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