diff options
Diffstat (limited to 'machines/nixos/x86_64-linux/vm-synology.nix')
| -rw-r--r-- | machines/nixos/x86_64-linux/vm-synology.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/machines/nixos/x86_64-linux/vm-synology.nix b/machines/nixos/x86_64-linux/vm-synology.nix index 39c483f..eedf26e 100644 --- a/machines/nixos/x86_64-linux/vm-synology.nix +++ b/machines/nixos/x86_64-linux/vm-synology.nix @@ -1,5 +1,6 @@ { adminUser, + config, self, ... }: @@ -41,5 +42,19 @@ ]; }; + services.cloudflared = { + enable = true; + certificateFile = config.age.secrets.cloudflared-cert.path; + tunnels = { + "cragmont" = { + credentialsFile = config.age.secrets.cloudflared-tunnel.path; + default = "http_status:404"; + ingress = { + "git.fcuny.net".service = "ssh://127.0.0.1:22"; + }; + }; + }; + }; + system.stateVersion = "23.11"; # Did you read the comment? } |
