diff --git a/packages/sshwifty/service.nix b/packages/sshwifty/service.nix index 5c3beb5..c75a0ab 100644 --- a/packages/sshwifty/service.nix +++ b/packages/sshwifty/service.nix @@ -32,7 +32,7 @@ in wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; environment = { - SSHWIFTY_CONFIG = pkgs.writeText "sshwifty.json" self.config; + SSHWIFTY_CONFIG = pkgs.writeText "sshwifty.json" (builtins.toJSON self.config); }; serviceConfig = { ExecStart = "${lib.getExe self.package}";