adding sops to fix gotify-desktop after long last

This commit is contained in:
2026-09-25 20:47:41 +01:00
parent e3fc39cf43
commit 4ee2cb0b19
6 changed files with 70 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
{
inputs,
inputs,
moduleWithSystem,
...
}: {
@@ -15,11 +15,10 @@ inputs,
}: {
packages = {
gotify-desktop = let
# Requires gpg keyring cert in order to get api key
config-file = pkgs.writeText "config.toml" ''
[gotify]
url = "wss://ntfy.voidarc.co.uk:443"
token = { command = "${pkgs.gnupg}/bin/gpg --quiet --batch --decrypt ${./gotify-key.secret}" }
token = { command = "cat /run/secrets/gotify-desktop-key.txt"}
[notification]
min_priority = 1
'';