Tailscale, Move to service, enable on Juri & Onizuka
This commit is contained in:
parent
717b6e5c8e
commit
f124e0550d
3 changed files with 4 additions and 2 deletions
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