File tree Expand file tree Collapse file tree 2 files changed +1
-36
lines changed
Expand file tree Collapse file tree 2 files changed +1
-36
lines changed Original file line number Diff line number Diff line change 3636 services = {
3737 forgejo = {
3838 enable = true ;
39+ package = pkgs . forgejo ; # Use the non lts version of forgejo
3940 settings . server = {
4041 ROOT_URL = "https://${ domain } " ;
4142 PROTOCAL = "https" ;
Original file line number Diff line number Diff line change 3636 enable = true ;
3737 } ;
3838
39- # systemd.services.send-tailscale-serve = lib.mkIf cfg.tailscale.enable {
40- # description = "Tailscale Service proxy for send";
41- # wantedBy = ["multi-user.target"];
42- # after = [
43- # "send.service"
44- # "tailscaled.service"
45- # ];
46- #
47- # serviceConfig = {
48- # Type = "oneshot";
49- # RemainAfterExit = true;
50- #
51- # ExecStart = lib.strings.concatStringsSep " " [
52- # "${pkgs.tailscale}/bin/tailscale serve"
53- # "--service=svc:${cfg.tailscale.name}"
54- # "--https=443"
55- # "http://localhost:${toString cfg.port}"
56- # ];
57- # ExecStop = "${pkgs.tailscale}/bin/tailscale serve clear svc:${cfg.tailscale.name}";
58- # };
59- # };
60- #
61- # services.caddy.virtualHosts."${cfg.tailscale.name}.ts.${server.domain}" = lib.mkIf cfg.enable {
62- # useACMEHost = server.domain;
63- # extraConfig = ''
64- # reverse_proxy http://127.0.0.1:${toString cfg.port}
65- # '';
66- # };
67-
68- # services.caddy.virtualHosts."${cfg.tailscale.name}.${server.domain}" = {
69- # useACMEHost = server.domain;
70- # extraConfig = ''
71- # reverse_proxy http://127.0.0.1:${toString cfg.port}
72- # '';
73- # };
74-
7539 my . nixos . services . cloudflared . ingress = {
7640 "${ cfg . tailscale . name } .${ server . domain } " = "http://127.0.0.1:${ toString cfg . port } " ;
7741 } ;
You can’t perform that action at this time.
0 commit comments