reaktor2: use usptream writers

This commit is contained in:
lassulus 2024-08-13 20:04:02 +02:00
parent c59dfa9af1
commit 06183f2a87

View File

@ -70,7 +70,7 @@ with import ../../lib/pure.nix { inherit lib; }; {
DynamicUser = true; DynamicUser = true;
StateDirectory = cfg.username; StateDirectory = cfg.username;
ExecStart = let ExecStart = let
configFile = pkgs.writeJSON configFileName configValue; configFile = pkgs.writers.writeJSON configFileName configValue;
configFileName = "${cfg.systemd-service-name}.config.json"; configFileName = "${cfg.systemd-service-name}.config.json";
configValue = stripAttr ( configValue = stripAttr (
recursiveUpdate { recursiveUpdate {