Tailscale, initialize client

This commit is contained in:
Julia Lange 2025-07-10 12:02:31 -07:00
parent 12ea4b5a87
commit 8a802411c6
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
3 changed files with 13 additions and 0 deletions

View file

@ -71,5 +71,6 @@ in {
shell.enabledShells = [ "fish" ];
shell.defaultShell = "fish";
tailscale.enable = true;
sshd.enable = true;
}

View file

@ -13,6 +13,7 @@
system.users.bigWheels = [ "pan" ];
sshd.enable = true;
tailscale.enable = true;
tuigreet.enable = true;
niri.enable = true;

View file

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
options.tailscale = {
enable = lib.mkEnableOption "enables tailscale";
};
config = lib.mkIf config.tailscale.enable {
services.tailscale.enable = true;
};
}