Make env files available inside the container

This commit is contained in:
niten 2024-01-18 10:24:27 -08:00
parent b7f087905a
commit cf3e3aabfd
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ in {
"postgres-data:/var/lib/postgres/data" "postgres-data:/var/lib/postgres/data"
"redis-data:/var/lib/redis" "redis-data:/var/lib/redis"
"mastodon-data:/var/lib/mastodon" "mastodon-data:/var/lib/mastodon"
]; ] ++ (map (env-file: "${env-file}:${env-file},ro")
cfg.environment-files);
ports = [ "${toString cfg.port}:80" ]; ports = [ "${toString cfg.port}:80" ];
}; };
nixos = { nixos = {