reaktor2: use usptream writers
This commit is contained in:
parent
c59dfa9af1
commit
06183f2a87
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user