fix service

This commit is contained in:
theBreadCompany 2025-04-07 16:55:50 +02:00
parent eab0e360e6
commit 4257fc74dd

View file

@ -37,9 +37,9 @@ in
serviceConfig.EnvironmentFile = pkgs.writeTextFile { serviceConfig.EnvironmentFile = pkgs.writeTextFile {
name = "fxpixiv.env"; name = "fxpixiv.env";
text = '' text = ''
"ROCKET_ENV=release" ROCKET_ENV=release
"ROCKET_PORT=${toString config.services.fxpixiv.port}" ROCKET_PORT=${toString config.services.fxpixiv.port}
"PIXIV_REFRESH_TOKEN=${toString config.services.fxpixiv.refreshToken}" PIXIV_REFRESH_TOKEN=${toString config.services.fxpixiv.refreshToken}
''; '';
meta.mode = "0600"; meta.mode = "0600";
}; };