stop the dynamicuser nonsense
This commit is contained in:
parent
e66c0233be
commit
3e94edd840
2 changed files with 14 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
app_service_api.database = {
|
||||
connection_string = "postgresql:///dendrite_app_service?sslmode=disable&host=/run/postgresql";
|
||||
config_files = [
|
||||
"/var/lib/mautrix-telegram"
|
||||
"/var/lib/mautrix-telegram/telegram-registration.yaml"
|
||||
];
|
||||
};
|
||||
client_api = {
|
||||
|
@ -69,7 +69,7 @@
|
|||
DynamicUser = lib.mkForce false;
|
||||
};
|
||||
users.users.dendrite = {
|
||||
description = "Matrix Media Repository";
|
||||
description = "Dendrite";
|
||||
home = "/var/lib/dendrite";
|
||||
useDefaultShell = true;
|
||||
group = "dendrite";
|
||||
|
|
|
@ -60,4 +60,16 @@
|
|||
"DATABASE mautrix_telegram" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
users.users.mautrix-telegram = {
|
||||
description = "Mautrix telegram bridge";
|
||||
home = "/var/lib/mautrix-telegram";
|
||||
useDefaultShell = true;
|
||||
group = "dendrite";
|
||||
isSystemUser = true;
|
||||
};
|
||||
systemd.services.mautrix-telegram.serviceConfig = {
|
||||
User = "mautrix-telegram";
|
||||
Group = "dendrite";
|
||||
DynamicUser = lib.mkForce false;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue