From a760e67b6f0851915abdb1b07a1d2b6c9f00446b Mon Sep 17 00:00:00 2001 From: xenofem Date: Thu, 9 May 2024 19:14:35 -0400 Subject: [PATCH] typo --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index f77af51..59d22b4 100644 --- a/flake.nix +++ b/flake.nix @@ -124,12 +124,12 @@ "${pname}" = package; default = package; }; - nixosModules.default = { lib, config, ... }: + nixosModules.default = { lib, config, pkgs, ... }: with lib; let cfg = config.services.actual; dataDir = "/var/lib/actual"; - cfgFile = writeText "actual.json" (builtins.toJSON { + cfgFile = pkgs.writeText "actual.json" (builtins.toJSON { inherit dataDir; inherit (cfg) hostname port; serverFiles = "${dataDir}/server-files";