Compare commits

..

1 commit

Author SHA1 Message Date
f2b83cf5d8 Restrict HRZ allowlist update service privileges 2024-04-04 17:17:29 +02:00

View file

@ -93,6 +93,7 @@ in {
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "mailman"; User = "mailman";
NoNewPrivileges = true;
# See https://www.man7.org/linux/man-pages/man5/systemd.exec.5.html # See https://www.man7.org/linux/man-pages/man5/systemd.exec.5.html
PrivateTmp = true; PrivateTmp = true;
ProtectHome = true; ProtectHome = true;
@ -130,8 +131,8 @@ in {
}; };
repo = "borg@192.168.1.11:lobon"; # TODO for https://gitea.mathebau.de/Fachschaft/nixConfig/issues/33 repo = "borg@192.168.1.11:lobon"; # TODO for https://gitea.mathebau.de/Fachschaft/nixConfig/issues/33
startAt = "daily"; startAt = "daily";
user = "root"; user = "mailman";
group = "root"; group = "mailman";
}; };
}; };
} }