mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
17 lines
380 B
Nix
17 lines
380 B
Nix
{ config, ... }:
|
|
{
|
|
users.users.${config.services.immich.user}.extraGroups = [ "postgres" ];
|
|
services.immich = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
database = {
|
|
enable = true;
|
|
createDB = true;
|
|
};
|
|
mediaLocation = "/persist/services/immich";
|
|
machine-learning.enable = false;
|
|
settings = null;
|
|
port = 2283;
|
|
host = "0.0.0.0";
|
|
};
|
|
}
|