diff options
author | lassulus <git@lassul.us> | 2024-08-13 20:04:02 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2024-08-13 20:04:02 +0200 |
commit | 06183f2a8723997c1ff066ec45f027dfe09b3474 (patch) | |
tree | 63636418d1679700ea9e58158d00a7a18fe6e1f0 /krebs | |
parent | c59dfa9af170e7a4fac68c65e1535ed0df8ac356 (diff) |
reaktor2: use usptream writers
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/reaktor2.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/reaktor2.nix b/krebs/3modules/reaktor2.nix index 978e0c9c0..2e820d27e 100644 --- a/krebs/3modules/reaktor2.nix +++ b/krebs/3modules/reaktor2.nix @@ -70,7 +70,7 @@ with import ../../lib/pure.nix { inherit lib; }; { DynamicUser = true; StateDirectory = cfg.username; ExecStart = let - configFile = pkgs.writeJSON configFileName configValue; + configFile = pkgs.writers.writeJSON configFileName configValue; configFileName = "${cfg.systemd-service-name}.config.json"; configValue = stripAttr ( recursiveUpdate { |