Refactor immich container config; enable firewall, resolved, PostgreSQL

This commit is contained in:
Joshua Bell 2026-02-08 22:34:52 -06:00
parent 6a871b1234
commit a162c71e78

View file

@ -149,7 +149,8 @@ in
...
}:
{
config = {
config = lib.mkMerge [
{
system.stateVersion = "25.05";
networking = {
@ -220,10 +221,12 @@ in
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ];
};
# Allow Immich user to access the media directory
}
{
# Allow Immich user to access the media directory for hardware transcoding
users.users.immich.extraGroups = [ "video" "render" ];
};
}
];
};
};
};