diff options
author | lassulus <lassulus@lassul.us> | 2021-07-29 15:46:34 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-07-29 15:46:34 +0200 |
commit | 36db8bee2faae73baf60dc229894e259edbaa639 (patch) | |
tree | f9d97583ae6dfc05f75ed759bb4c06a97e1ee7c8 /krebs | |
parent | d6febec1442b48d75771cba09bc54a96b5d8cd5f (diff) |
reaktor2: fix dynamicUser not being able to write agenda
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/2configs/reaktor2.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/krebs/2configs/reaktor2.nix b/krebs/2configs/reaktor2.nix index 15be3eec8..e9837ff7c 100644 --- a/krebs/2configs/reaktor2.nix +++ b/krebs/2configs/reaktor2.nix @@ -120,8 +120,11 @@ in { uid = genid_uint31 "reaktor2"; home = stateDir; isSystemUser = true; + extraGroups = [ "reaktor2" ]; }; + users.groups.reaktor2 = {}; + systemd.services.htgen-agenda.serviceConfig.StateDirectory = "reaktor2"; krebs.htgen.agenda = { 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 = { hackint = { hostname = "irc.hackint.org"; |