signald: remove
This commit is contained in:
parent
8db405a9c4
commit
a05a05ca0f
4 changed files with 11 additions and 24 deletions
|
@ -128,10 +128,6 @@
|
|||
file = ./mautrix-signal/config.age;
|
||||
};
|
||||
|
||||
signald-environment = {
|
||||
file = ./signald/environment.age;
|
||||
};
|
||||
|
||||
synapse-extra-config = {
|
||||
file = ./synapse/extraConfig.age;
|
||||
owner = "matrix-synapse";
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 MtGp6g /N1cHH7SmlpEdvKEcMzVflInTXChp+eWJFU2RoPWMUk
|
||||
7nLndAtQ3DWXYmPvwq9tDPBiPLJMuDuCRtSXdFveSoo
|
||||
-> ssh-ed25519 iO8/4g WSUXe/SRWLMN23PWyOM7qOCbXOFvTrzmTcq0zW/ABFs
|
||||
NmQoYqT0x6t0WByQrIg+OAvP4VUU5tVydAHfVTZvPUE
|
||||
-> eo6mwb;-grease :nS'C`f ?/iI)
|
||||
oQ4Y4ksapQU8WwrdzObrSTiUiS37dk+c180046s7BqC6GX8iXFjR9kQSPb6tR9bl
|
||||
Nhh/zHwzdGQmy7VekRL8ZdpbUeKd5D6X7w
|
||||
--- aHWIb4WJ+O2kXUGFczOA6ngejy6jkMOmrFmcKLllq8s
|
||||
*?DGõ¨L5¯¸Ä‚Bf&AH¢;÷ aÀsŒã%1Íh1rdO“²&ºq"DÕ`CQà5€Ÿ—xÐqÎÁ¸2¶Îñ»_æ[g¥½‹Ddñó'+<2B>g¤)6nïÈ/Ä*,ð§—;lxS;R[”‹À†cµ ›(
|
|
@ -61,8 +61,6 @@ in
|
|||
|
||||
"agenix/hosts/tanker/mautrix-signal/config.age".publicKeys = tanker;
|
||||
|
||||
"agenix/hosts/tanker/signald/environment.age".publicKeys = tanker;
|
||||
|
||||
"agenix/hosts/tanker/mautrix-whatsapp/config.age".publicKeys = tanker;
|
||||
|
||||
"agenix/hosts/tanker/weewx/config.age".publicKeys = tanker;
|
||||
|
|
|
@ -1,20 +1,23 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
{
|
||||
services.signald.enable = true;
|
||||
systemd.services.signald.serviceConfig.EnvironmentFile = [
|
||||
config.age.secrets.signald-environment.path
|
||||
];
|
||||
# Re-use old signald user and group
|
||||
users.users.signald = {
|
||||
group = "signald";
|
||||
isSystemUser = true;
|
||||
};
|
||||
|
||||
users.groups.signald = { };
|
||||
|
||||
systemd.services.mautrix-signal = {
|
||||
description = "A Matrix-Signal puppeting bridge";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "matrix-synapse.service" "signald.service" ];
|
||||
after = [ "matrix-synapse.service" "signald.service" ];
|
||||
requires = [ "matrix-synapse.service" ];
|
||||
after = [ "matrix-synapse.service" ];
|
||||
restartTriggers = [ "${config.age.secrets.mautrix-signal-config.file}" ];
|
||||
serviceConfig = {
|
||||
User = config.services.signald.user;
|
||||
Group = config.services.signald.group;
|
||||
User = "signald";
|
||||
Group = "signald";
|
||||
LoadCredential = [ "config:${config.age.secrets.mautrix-signal-config.path}" ];
|
||||
ExecStart = "${lib.getExe pkgs.mautrix-signal} --config=%d/config --no-update";
|
||||
Restart = "on-failure";
|
||||
|
|
Loading…
Reference in a new issue