diff --git a/modules/desktop/tailscale/default.nix b/modules/desktop/tailscale/default.nix new file mode 100644 index 00000000..b88befb8 --- /dev/null +++ b/modules/desktop/tailscale/default.nix @@ -0,0 +1,9 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.wireguard; +in { + options.modules.desktop.wireguard = { enable = lib.mkEnableOption false; }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ tailscale ]; + }; +}