1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

3 Commits

Author SHA1 Message Date
f43e4ff664 mock secrets 2024-10-07 23:22:41 +02:00
c15e9812c4 gnupg: use nixos instead of home-manager 2024-10-07 22:58:55 +02:00
a2390d52c5 literature-quote: also post on mastodon 2024-10-07 22:58:33 +02:00
4 changed files with 19 additions and 6 deletions

View File

@@ -155,13 +155,14 @@ in {
}
{programs.command-not-found.enable = true;}
{
home-manager.users.me = {
services.gpg-agent = rec {
programs.gnupg = {
agent = {
enable = true;
enableZshIntegration = true;
defaultCacheTtl = 2 * 60 * 60;
maxCacheTtl = 4 * defaultCacheTtl;
pinentryPackage = pkgs.pinentry-rofi;
settings = rec {
default-cache-ttl = 2 * 60 * 60;
max-cache-ttl = 4 * default-cache-ttl;
};
};
};

View File

@@ -14,9 +14,19 @@
chatIds = ["-1001760262519"];
parseMode = "Markdown";
};
mastodon = {
enable = true;
homeserver = "c.im";
tokenFile = config.age.secrets.mastodon-token-logotheca.path;
language = "de";
};
command = "${niveumPackages.literature-quote}/bin/literature-quote";
};
age.secrets = {
mastodon-token-logotheca.file = ../../secrets/mastodon-token-logotheca.age;
};
niveum.passport.services = [
{
title = "Literature quote bot";

Submodule secrets updated: be92e992c3...310bc64174

View File

@@ -42,6 +42,7 @@ secrets/manakish-wireguard-aether-psk.age
secrets/mastodon-token-autorenkalender.age
secrets/mastodon-token-celan.age
secrets/mastodon-token-hesychius.age
secrets/mastodon-token-logotheca.age
secrets/mastodon-token-smyth.age
secrets/mastodon-token-tlgwotd.age
secrets/mastodon-token-transits.age
@@ -57,6 +58,7 @@ secrets/onlyoffice-jwt-key.age
secrets/openweathermap-api-key.age
secrets/restic.age
secrets/secrets.nix
secrets/secrets.sync-conflict-20241007-194311-GSOGYT3.nix
secrets/spotify-password.age
secrets/spotify-username.age
secrets/stw-berlin-card-code.age