Remove cloudflared module file and commit remaining changes
This commit is contained in:
parent
56fdb16b24
commit
4b91870bfb
2 changed files with 1 additions and 21 deletions
|
|
@ -1,21 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.cloudflared ];
|
||||
|
||||
systemd.services.cloudflared-warp = {
|
||||
description = "Cloudflared TCP tunnel for SSH";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.cloudflared}/bin/cloudflared access tcp --hostname warp.ftl.host --url localhost:4401 --destination localhost:22";
|
||||
Restart = "always";
|
||||
RestartSec = "5s";
|
||||
Type = "exec";
|
||||
StandardOutput = "journal";
|
||||
StandardError = "journal";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue