Fix mautrix users

This commit is contained in:
Alexander Bantyev 2021-10-02 18:42:17 +03:00
parent ef78340c2f
commit fc1ed9a1d9
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -44,7 +44,12 @@
mautrix-whatsapp -c ${config.secrets-envsubst.mautrix-whatsapp} mautrix-whatsapp -c ${config.secrets-envsubst.mautrix-whatsapp}
''; '';
}; };
users.users.mautrix-whatsapp.isSystemUser = true; users.users.mautrix-whatsapp = {
group = "mautrix-whatsapp";
isSystemUser = true;
};
users.groups.mautrix-whatsapp = {};
services.mautrix-telegram = { services.mautrix-telegram = {
enable = true; enable = true;
@ -205,7 +210,12 @@
systemd.services.mautrix-telegram.serviceConfig.User = "mautrix-telegram"; systemd.services.mautrix-telegram.serviceConfig.User = "mautrix-telegram";
users.users.mautrix-telegram.isSystemUser = true; users.users.mautrix-telegram = {
group = "mautrix-telegram";
isSystemUser = true;
};
users.groups.mautrix-telegram = {};
users.users.matrix-synapse.name = lib.mkForce "matrix-synapse"; users.users.matrix-synapse.name = lib.mkForce "matrix-synapse";
} }