mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 17:38:30 +02:00
something something cumulative updates
This commit is contained in:
parent
1d50fdc0e2
commit
3d382ef13c
14 changed files with 73 additions and 62 deletions
|
@ -63,12 +63,12 @@ in
|
|||
|
||||
# If we don't explicitly set {a,h}s_token, mautrix-telegram will try to read them from the registrationFile
|
||||
# and write them to the settingsFile in /nix/store, which obviously fails.
|
||||
systemd.services.mautrix-telegram.serviceConfig.ExecStart =
|
||||
lib.mkForce (pkgs.writeShellScript "start" ''
|
||||
export MAUTRIX_TELEGRAM_APPSERVICE_AS_TOKEN=$(grep as_token ${registrationFileMautrix} | cut -d' ' -f2-)
|
||||
export MAUTRIX_TELEGRAM_APPSERVICE_HS_TOKEN=$(grep hs_token ${registrationFileMautrix} | cut -d' ' -f2-)
|
||||
# systemd.services.mautrix-telegram.serviceConfig.ExecStart =
|
||||
# lib.mkForce (pkgs.writeShellScript "start" ''
|
||||
# export MAUTRIX_TELEGRAM_APPSERVICE_AS_TOKEN=$(grep as_token ${registrationFileMautrix} | cut -d' ' -f2-)
|
||||
# export MAUTRIX_TELEGRAM_APPSERVICE_HS_TOKEN=$(grep hs_token ${registrationFileMautrix} | cut -d' ' -f2-)
|
||||
|
||||
${pkgs.mautrix-telegram}/bin/mautrix-telegram --config='${settingsFile}'
|
||||
'');
|
||||
# ${pkgs.mautrix-telegram}/bin/mautrix-telegram --config='${settingsFile}'
|
||||
# '');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue