feat: nb initial click and load
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user