feat: nb initial click and load

This commit is contained in:
2025-12-10 12:49:30 +01:00
parent 99ac2ea3b0
commit 5f300d9e7b
4 changed files with 279 additions and 34 deletions

View File

@@ -7,6 +7,8 @@ let
config = { allowUnfree = true; };
};
clicknload-proxy = pkgs.callPackage ../utils/pkgs/clicknload-proxy {};
thunderbirdSettings = {
"extensions.activeThemeID" = "thunderbird-compact-dark@mozilla.org";
"browser.theme.content-theme" = 0;
@@ -160,6 +162,9 @@ in
sops.secrets.openai_api_key = {
owner = "dominik";
};
sops.secrets.clicknload-proxy-config = {
owner = "dominik";
};
programs.fuse.userAllowOther = true;
programs.zsh = {
@@ -228,9 +233,9 @@ in
Restart = "always";
};
};
pyload-tunnel = {
clicknload-proxy = {
Unit = {
Description = "SSH tunnel for pyLoad Click'n'Load";
Description = "Click'n'Load proxy for pyLoad";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
@@ -238,7 +243,7 @@ in
WantedBy = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.openssh}/bin/ssh -N -L 9666:10.42.97.11:9666 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 root@fw.cloonar.com";
ExecStart = "${clicknload-proxy}/bin/clicknload-proxy --config ${config.sops.secrets.clicknload-proxy-config.path}";
Restart = "always";
RestartSec = "10s";
};