fix immich config var
This commit is contained in:
parent
cc26c13cac
commit
aa9bd8b27e
2 changed files with 4 additions and 11 deletions
|
|
@ -1,7 +1,10 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
# Universal container configuration
|
||||
immichConfig = import ../../../config/immich.nix;
|
||||
immichConfigJson = builtins.toJSON immichConfig;
|
||||
immichConfigFile = pkgs.writeText "immich.json" immichConfigJson;
|
||||
|
||||
commonUID = "1000";
|
||||
commonGID = "100";
|
||||
systemTZ = config.time.timeZone;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
# Import Immich configuration from declarative config file
|
||||
immichConfig = import ../../../config/immich.nix;
|
||||
|
||||
# Convert Nix configuration to JSON string
|
||||
immichConfigJson = builtins.toJSON immichConfig;
|
||||
|
||||
# Write config file to a location accessible by the container
|
||||
immichConfigFile = pkgs.writeText "immich.json" immichConfigJson;
|
||||
|
||||
# Universal container configuration
|
||||
commonUID = "1000";
|
||||
commonGID = "100";
|
||||
systemTZ = config.time.timeZone;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue