Pretty sure it should actually be pkgs.

This commit is contained in:
niten 2023-07-08 08:47:25 -07:00
parent fe9d01918a
commit 0d736de311
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ let
installPhase = "ls > $out";
};
nginxCfg = builtins.writeTextFile "lemmy-nginx.conf" ''
nginxCfg = pkgs.writeTextFile "lemmy-nginx.conf" ''
worker_processes auto;
events {
@ -117,7 +117,7 @@ let
max-file = "4";
};
};
in builtins.writeTextDir "docker-compose.yml" (toJSON {
in pkgs.writeTextDir "docker-compose.yml" (toJSON {
version = "3.7";
services = {
@ -228,7 +228,7 @@ in {
in {
fudo.secrets.host-secrets."${config.instance.hostname}" = {
lemmyDockerEnv = {
source-file = builtins.writeTextFile "lemmy-docker-env" ''
source-file = pkgs.writeTextFile "lemmy-docker-env" ''
PICTRS__API_KEY=\"${pictrsApiKey}\"
POSTGRES_PASSWORD=\"${postgresPassword}\"
'';