aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede/config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ganymede/config.nix')
-rw-r--r--hosts/ganymede/config.nix23
1 files changed, 19 insertions, 4 deletions
diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix
index 50ef29a..c2b312f 100644
--- a/hosts/ganymede/config.nix
+++ b/hosts/ganymede/config.nix
@@ -1,4 +1,6 @@
-{config, ...}: {
+{config, ...}: let
+ tailscaleIP = "100.69.180.89";
+in {
collinux = {
user.name = "collin";
@@ -32,12 +34,25 @@
};
};
tailscale.enable = true;
- sshd.enable = true;
+ sshd = {
+ enable = true;
+ bind_host = tailscaleIP;
+ };
};
selfhost = {
- adguard.enable = true;
- forgejo.enable = true;
+ adguard = {
+ enable = true;
+ bind_host = tailscaleIP;
+ };
+ forgejo = {
+ enable = true;
+ bind_host = tailscaleIP;
+ };
+ headscale = {
+ enable = true;
+ root_url = "https://headscale.williamsfam.us.com";
+ };
caddy = {
enable = true;
envFile = config.collinux.secrets."caddy-env".path;