diff --git a/hosts/hecuba/default.nix b/hosts/hecuba/default.nix index 9731ae54..edbd229d 100644 --- a/hosts/hecuba/default.nix +++ b/hosts/hecuba/default.nix @@ -15,8 +15,9 @@ ../../modules ]; - ssh.enable = true; docker.enable = true; + ssh.enable = true; + tailscale.enable = true; networking.hostName = config.host.name; diff --git a/hosts/hecuba/meta.nix b/hosts/hecuba/meta.nix index 573994f3..a89298e2 100644 --- a/hosts/hecuba/meta.nix +++ b/hosts/hecuba/meta.nix @@ -2,7 +2,7 @@ system = "x86_64-linux"; deployment = { tags = [ "cloud" ]; - targetHost = "server.hektormisplon.xyz"; + targetHost = "hecuba"; targetUser = "username"; }; role = "server"; diff --git a/modules/tailscale/default.nix b/modules/tailscale/default.nix index 1c7506a3..2ca0602d 100644 --- a/modules/tailscale/default.nix +++ b/modules/tailscale/default.nix @@ -1,8 +1,5 @@ -{ - lib, - config, - ... -}: +{ lib, config, ... }: + { options.tailscale = { enable = lib.mkEnableOption "tailscale";