From a64d1bfc0f64473092aee31481a492507964876e Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 20 Jan 2025 08:24:22 -0500 Subject: [PATCH] chore: attempt to reduce unnecessary rebuilds --- configurations/nos/modules/docker/immich/compose.nix | 9 +++++---- modules/desktop/manager/ags/default.nix | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/configurations/nos/modules/docker/immich/compose.nix b/configurations/nos/modules/docker/immich/compose.nix index 728fe732..a7bc440d 100644 --- a/configurations/nos/modules/docker/immich/compose.nix +++ b/configurations/nos/modules/docker/immich/compose.nix @@ -11,6 +11,7 @@ rwPath = rwDataDir + "/immich"; + envFile = "${./env}"; UPLOAD_LOCATION = "${rwPath}/data"; synologyPath = "/var/lib/synology-immich"; in { @@ -51,7 +52,7 @@ in { restart = "always"; environmentFiles = [ - ./env + envFile secrets.immich.path ]; @@ -76,7 +77,7 @@ in { restart = "always"; environmentFiles = [ - ./env + envFile secrets.immich.path ]; networks = ["proxy_net"]; @@ -92,7 +93,7 @@ in { restart = "always"; environmentFiles = [ - ./env + envFile secrets.immich.path ]; networks = ["proxy_net"]; @@ -105,7 +106,7 @@ in { restart = "always"; environmentFiles = [ - ./env + envFile secrets.immich.path ]; networks = ["proxy_net"]; diff --git a/modules/desktop/manager/ags/default.nix b/modules/desktop/manager/ags/default.nix index 362821ec..f5458e34 100644 --- a/modules/desktop/manager/ags/default.nix +++ b/modules/desktop/manager/ags/default.nix @@ -19,7 +19,7 @@ self: { varsTs = homeFiles."${agsCfg.configDir}/widgets/lockscreen/vars.ts".source; in pkgs.runCommandLocal "agsConfig" {} '' - cp -ar ${self}/modules/ags/config/* ./. + cp -ar ${../../../ags/config}/* ./. chmod +w -R ./. cp -ar ${varsTs} ./widgets/lockscreen/vars.ts cp -ar ${nodeModules} ./node_modules