reaktor2: fix dynamicUser not being able to write agenda

This commit is contained in:
lassulus 2021-07-29 15:46:34 +02:00
parent d6febec144
commit 36db8bee2f

View File

@ -120,8 +120,11 @@ in {
uid = genid_uint31 "reaktor2"; uid = genid_uint31 "reaktor2";
home = stateDir; home = stateDir;
isSystemUser = true; isSystemUser = true;
extraGroups = [ "reaktor2" ];
}; };
users.groups.reaktor2 = {};
systemd.services.htgen-agenda.serviceConfig.StateDirectory = "reaktor2"; systemd.services.htgen-agenda.serviceConfig.StateDirectory = "reaktor2";
krebs.htgen.agenda = { krebs.htgen.agenda = {
port = 8009; port = 8009;
@ -245,6 +248,8 @@ in {
}; };
}; };
systemd.services.reaktor2-r.serviceConfig.DynamicUser = mkForce false;
systemd.services.reaktor2-hackint.serviceConfig.DynamicUser = mkForce false;
krebs.reaktor2 = { krebs.reaktor2 = {
hackint = { hackint = {
hostname = "irc.hackint.org"; hostname = "irc.hackint.org";