typo
This commit is contained in:
parent
c0cd926113
commit
a760e67b6f
|
@ -124,12 +124,12 @@
|
||||||
"${pname}" = package;
|
"${pname}" = package;
|
||||||
default = package;
|
default = package;
|
||||||
};
|
};
|
||||||
nixosModules.default = { lib, config, ... }:
|
nixosModules.default = { lib, config, pkgs, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.services.actual;
|
cfg = config.services.actual;
|
||||||
dataDir = "/var/lib/actual";
|
dataDir = "/var/lib/actual";
|
||||||
cfgFile = writeText "actual.json" (builtins.toJSON {
|
cfgFile = pkgs.writeText "actual.json" (builtins.toJSON {
|
||||||
inherit dataDir;
|
inherit dataDir;
|
||||||
inherit (cfg) hostname port;
|
inherit (cfg) hostname port;
|
||||||
serverFiles = "${dataDir}/server-files";
|
serverFiles = "${dataDir}/server-files";
|
||||||
|
|
Loading…
Reference in a new issue