LoutreOS: patch nixpkgs with tuliprox module and enable service #12

Closed
nyanloutre wants to merge 0 commits from tuliprox-init into upgrade-25.11
Owner

Draft stockage credentials

    tuliprox = {
      enable = true;
      sourceSettings = {
        sources = [
          {
            inputs = [
              {
                type = "xtream_batch";
                url = "file://\${env:CREDENTIALS_DIRECTORY}/xtream_batch.csv";
              }
            ];
          }
        ];
      };
      apiProxySettings = {
        user = [
          {
            target = "trex-iptv";
            credentials = [
              {
                username = "pfeiffer";
                password = "\${env:PFEIFFER_PASSWORD}";
                proxy = "redirect";
              }
            ];
          }
        ];
      };
    };
  }; 



  systemd.services.tuliprox = {
    unitConfig = {
      RequiresMountsFor = "/mnt/secrets/tuliprox";
    };
    serviceConfig = {
      LoadCredential = [
        "xtream_batch.csv:/mnt/secrets/tuliprox/xtream_batch.csv"
      ];
	  EnvironmentFile = [
		"/mnt/secrets/tuliprox/user_credentials.env"
	  ];
    };
  };

Draft stockage credentials ``` tuliprox = { enable = true; sourceSettings = { sources = [ { inputs = [ { type = "xtream_batch"; url = "file://\${env:CREDENTIALS_DIRECTORY}/xtream_batch.csv"; } ]; } ]; }; apiProxySettings = { user = [ { target = "trex-iptv"; credentials = [ { username = "pfeiffer"; password = "\${env:PFEIFFER_PASSWORD}"; proxy = "redirect"; } ]; } ]; }; }; }; systemd.services.tuliprox = { unitConfig = { RequiresMountsFor = "/mnt/secrets/tuliprox"; }; serviceConfig = { LoadCredential = [ "xtream_batch.csv:/mnt/secrets/tuliprox/xtream_batch.csv" ]; EnvironmentFile = [ "/mnt/secrets/tuliprox/user_credentials.env" ]; }; }; ```
nyanloutre changed target branch from master to upgrade-25.11 2025-12-05 13:13:31 +01:00
nyanloutre closed this pull request 2025-12-05 16:11:12 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nyanloutre/nixos-config!12
No description provided.