Tailscale, initialize client
This commit is contained in:
parent
12ea4b5a87
commit
8a802411c6
3 changed files with 13 additions and 0 deletions
|
|
@ -71,5 +71,6 @@ in {
|
|||
shell.enabledShells = [ "fish" ];
|
||||
shell.defaultShell = "fish";
|
||||
|
||||
tailscale.enable = true;
|
||||
sshd.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
system.users.bigWheels = [ "pan" ];
|
||||
|
||||
sshd.enable = true;
|
||||
tailscale.enable = true;
|
||||
|
||||
tuigreet.enable = true;
|
||||
niri.enable = true;
|
||||
|
|
|
|||
11
nixosModules/services/tailscale/service.nix
Normal file
11
nixosModules/services/tailscale/service.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue