1
Fork 0
satellite/home/features/cli/productivity/intray.nix

21 lines
671 B
Nix
Raw Normal View History

2024-07-26 20:18:26 +02:00
{ config, inputs, pkgs, ... }: {
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";
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
};
}