1
Fork 0

Set up intray client with selfhosted server

This commit is contained in:
Matei Adriel 2024-02-02 05:28:32 +01:00
parent b3e6804137
commit 2bf3acc33a
No known key found for this signature in database
6 changed files with 74 additions and 61 deletions
home/features/cli/productivity

View file

@ -1,7 +1,16 @@
{
{ config, ... }: {
sops.secrets.intray_password.sopsFile = ./secrets.yaml;
programs.intray = {
enable = true;
data-dir = "/persist/state/home/adrielus/intray";
cache-dir = "/persist/local/cache/home/adrielus/intray";
config.sync = "AlwaysSync";
sync = {
enable = true;
username = "prescientmoon";
password-file = config.sops.secrets.intray_password.path;
url = "https://api.intray.moonythm.dev";
};
};
}

View file

@ -1,4 +1,5 @@
smos_github_token: ENC[AES256_GCM,data:kqy5mQf96DoPN1iEt2akJWFfD3IJWdSkvZa0MeAyF0WJ/+V5P5C4iQ==,iv:QwmIdV/vzGTLE89XJVi3prgfmXqRa/OYcp9CA7KJDYc=,tag:+S1EZBcxoOQO2ADjDx9STQ==,type:str]
intray_password: ENC[AES256_GCM,data:lTCLWSZIk93LhzHJ/ymc,iv:NcmCK3raatp25cKY6GrlL9hiuJp4HGzVNk/eWqDoobo=,tag:v1dirckcNXJjATvMikfNYw==,type:str]
sops:
kms: []
gcp_kms: []
@ -14,8 +15,8 @@ sops:
Y2E3bmM1TkZoOEN0anJqYUNSQUN5ZDAKtobUBBKbfaUeiPtKN4/oTNaxY3C2joCK
8h4FlRLXd+CGnAyjN2p4FliWzLgmOg4HFNmZSmYLpIh4E9yqadNSSg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-01-31T18:33:00Z"
mac: ENC[AES256_GCM,data:HMJ9K1Ox0GPFgi7yG+Kb7ogHCQHXhj0hZEWGs0gLFHw0qqXBAUpAZfqVDd5DvNQSK7m4lRoxZC+wyc2ni0o95QGoDM1wA83npalvTEZyRI+9N0TAsrO03JHq+1uSawwLEhmHjvcVsX8W3d5hJzY+/Tq21D14SBKMqXxgHwHsH2E=,iv:dEyBbXDHboP/x0Bqo7p3YHh8gJWWfmTNLAZhUYeqkfc=,tag:WduTOOkgox6GRtLkm2Zkdw==,type:str]
lastmodified: "2024-02-02T03:44:59Z"
mac: ENC[AES256_GCM,data:iE5vx//Kxf1sZKRAuypRiimfoHvZsyDoKZsqQQtS9XeJHLj8ruMR7sqReNJ8G/0GPWhCBKepo+lEAoBkdlbaCPflERbC15AhIKtg/4qTd5sdOzyS7ZhFRDrca3KPu1xYasZVq0Q9aZp8+pFEDBkhVxY57LI6aIYYCXeixLK6+eg=,iv:ifUq5+J1t9N0sT+eK67ajku+fylsPlpNSZMu5z/BbSA=,tag:Yguv1koZljV9GHXT1nZmHQ==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1

View file

@ -21,7 +21,7 @@ in
];
sops.secrets.smos_github_token = {
sopsFile = ./secrets.yaml;
sopsFile = ../secrets.yaml;
path = "${config.xdg.dataHome}/smos/.github_token";
};
# }}}