This commit is contained in:
waveringana 2025-06-16 06:44:50 -04:00
parent d616cdca1f
commit 9dc034ec86
23 changed files with 354 additions and 26 deletions

View file

@ -0,0 +1,28 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.immich;
immichRoot = "/storage/immich"; #TODO make this configurable through nix
immichPhotos = "${immichRoot}/photos";
in
{
options = {
modules = {
immich = {
enable = mkEnableOption "Deploy immich";
};
};
};
config = mkIf cfg.enable {
services.immich = {
enable = true;
port = 2283;
host = "photos.nekomimi.pet";
mediaLocation = immichPhotos;
settings = null;
};
};
};