adding sops to fix gotify-desktop after long last
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user