2024-07-26 20:18:26 +02:00
|
|
|
{ config, inputs, pkgs, ... }: {
|
2024-02-02 05:28:32 +01:00
|
|
|
sops.secrets.intray_password.sopsFile = ./secrets.yaml;
|
|
|
|
|
2023-09-04 04:58:39 +02:00
|
|
|
programs.intray = {
|
|
|
|
enable = true;
|
2024-07-26 20:18:26 +02:00
|
|
|
|
|
|
|
# We don't want to use the statically-linked binary, as it requires pulling-in ghc-musl.
|
|
|
|
intray-cli = inputs.intray.packages.${pkgs.system}.default.intray-cli;
|
|
|
|
|
2024-05-21 01:37:39 +02:00
|
|
|
data-dir = "${config.satellite.persistence.at.state.home}/intray";
|
|
|
|
cache-dir = "${config.satellite.persistence.at.cache.home}/intray";
|
2024-02-02 05:28:32 +01:00
|
|
|
config.sync = "AlwaysSync";
|
|
|
|
sync = {
|
|
|
|
enable = true;
|
|
|
|
username = "prescientmoon";
|
|
|
|
password-file = config.sops.secrets.intray_password.path;
|
|
|
|
url = "https://api.intray.moonythm.dev";
|
|
|
|
};
|
2023-09-04 04:58:39 +02:00
|
|
|
};
|
|
|
|
}
|