chore: attempt to reduce unnecessary rebuilds
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-20 08:24:22 -05:00
parent 771fb30cf9
commit a64d1bfc0f
2 changed files with 6 additions and 5 deletions

View file

@ -11,6 +11,7 @@
rwPath = rwDataDir + "/immich"; rwPath = rwDataDir + "/immich";
envFile = "${./env}";
UPLOAD_LOCATION = "${rwPath}/data"; UPLOAD_LOCATION = "${rwPath}/data";
synologyPath = "/var/lib/synology-immich"; synologyPath = "/var/lib/synology-immich";
in { in {
@ -51,7 +52,7 @@ in {
restart = "always"; restart = "always";
environmentFiles = [ environmentFiles = [
./env envFile
secrets.immich.path secrets.immich.path
]; ];
@ -76,7 +77,7 @@ in {
restart = "always"; restart = "always";
environmentFiles = [ environmentFiles = [
./env envFile
secrets.immich.path secrets.immich.path
]; ];
networks = ["proxy_net"]; networks = ["proxy_net"];
@ -92,7 +93,7 @@ in {
restart = "always"; restart = "always";
environmentFiles = [ environmentFiles = [
./env envFile
secrets.immich.path secrets.immich.path
]; ];
networks = ["proxy_net"]; networks = ["proxy_net"];
@ -105,7 +106,7 @@ in {
restart = "always"; restart = "always";
environmentFiles = [ environmentFiles = [
./env envFile
secrets.immich.path secrets.immich.path
]; ];
networks = ["proxy_net"]; networks = ["proxy_net"];

View file

@ -19,7 +19,7 @@ self: {
varsTs = homeFiles."${agsCfg.configDir}/widgets/lockscreen/vars.ts".source; varsTs = homeFiles."${agsCfg.configDir}/widgets/lockscreen/vars.ts".source;
in in
pkgs.runCommandLocal "agsConfig" {} '' pkgs.runCommandLocal "agsConfig" {} ''
cp -ar ${self}/modules/ags/config/* ./. cp -ar ${../../../ags/config}/* ./.
chmod +w -R ./. chmod +w -R ./.
cp -ar ${varsTs} ./widgets/lockscreen/vars.ts cp -ar ${varsTs} ./widgets/lockscreen/vars.ts
cp -ar ${nodeModules} ./node_modules cp -ar ${nodeModules} ./node_modules