My Nix Configuration
1{ 2 "backup": { 3 "database": { 4 "cronExpression": "0 02 * * *", 5 "enabled": true, 6 "keepLastAmount": 14 7 } 8 }, 9 "ffmpeg": { 10 "accel": "vaapi", 11 "accelDecode": true, 12 "acceptedAudioCodecs": ["aac", "mp3", "libopus"], 13 "acceptedContainers": ["mov", "ogg", "webm"], 14 "acceptedVideoCodecs": ["h264"], 15 "bframes": -1, 16 "cqMode": "auto", 17 "crf": 23, 18 "gopSize": 0, 19 "maxBitrate": "0", 20 "preferredHwDevice": "auto", 21 "preset": "veryfast", 22 "refs": 0, 23 "targetAudioCodec": "aac", 24 "targetResolution": "720", 25 "targetVideoCodec": "h264", 26 "temporalAQ": false, 27 "threads": 0, 28 "tonemap": "hable", 29 "transcode": "required", 30 "twoPass": false 31 }, 32 "image": { 33 "colorspace": "p3", 34 "extractEmbedded": false, 35 "fullsize": { 36 "enabled": false, 37 "format": "jpeg", 38 "quality": 80 39 }, 40 "preview": { 41 "format": "jpeg", 42 "quality": 80, 43 "size": 1440 44 }, 45 "thumbnail": { 46 "format": "webp", 47 "quality": 80, 48 "size": 250 49 } 50 }, 51 "job": { 52 "backgroundTask": { 53 "concurrency": 5 54 }, 55 "faceDetection": { 56 "concurrency": 2 57 }, 58 "library": { 59 "concurrency": 5 60 }, 61 "metadataExtraction": { 62 "concurrency": 5 63 }, 64 "migration": { 65 "concurrency": 5 66 }, 67 "notifications": { 68 "concurrency": 5 69 }, 70 "ocr": { 71 "concurrency": 1 72 }, 73 "search": { 74 "concurrency": 5 75 }, 76 "sidecar": { 77 "concurrency": 5 78 }, 79 "smartSearch": { 80 "concurrency": 2 81 }, 82 "thumbnailGeneration": { 83 "concurrency": 3 84 }, 85 "videoConversion": { 86 "concurrency": 1 87 }, 88 "workflow": { 89 "concurrency": 5 90 } 91 }, 92 "library": { 93 "scan": { 94 "cronExpression": "0 0 * * *", 95 "enabled": true 96 }, 97 "watch": { 98 "enabled": false 99 } 100 }, 101 "logging": { 102 "enabled": true, 103 "level": "log" 104 }, 105 "machineLearning": { 106 "availabilityChecks": { 107 "enabled": true, 108 "interval": 30000, 109 "timeout": 2000 110 }, 111 "clip": { 112 "enabled": true, 113 "modelName": "ViT-B-16-SigLIP2__webli" 114 }, 115 "duplicateDetection": { 116 "enabled": true, 117 "maxDistance": 0.01 118 }, 119 "enabled": true, 120 "facialRecognition": { 121 "enabled": true, 122 "maxDistance": 0.5, 123 "minFaces": 7, 124 "minScore": 0.7, 125 "modelName": "buffalo_l" 126 }, 127 "ocr": { 128 "enabled": true, 129 "maxResolution": 736, 130 "minDetectionScore": 0.5, 131 "minRecognitionScore": 0.8, 132 "modelName": "EN__PP-OCRv5_mobile" 133 }, 134 "urls": ["http://localhost:3003"] 135 }, 136 "map": { 137 "darkStyle": "https://tiles.immich.cloud/v1/style/dark.json", 138 "enabled": true, 139 "lightStyle": "https://tiles.immich.cloud/v1/style/light.json" 140 }, 141 "metadata": { 142 "faces": { 143 "import": false 144 } 145 }, 146 "newVersionCheck": { 147 "enabled": false 148 }, 149 "nightlyTasks": { 150 "clusterNewFaces": true, 151 "databaseCleanup": true, 152 "generateMemories": true, 153 "missingThumbnails": true, 154 "startTime": "00:00", 155 "syncQuotaUsage": true 156 }, 157 "notifications": { 158 "smtp": { 159 "enabled": true, 160 "from": "dishNet Photos <immich@pyrox.dev>", 161 "replyTo": "", 162 "transport": { 163 "host": "mail.pyrox.dev", 164 "ignoreCert": false, 165 "port": 25, 166 "secure": true, 167 "username": "immich@pyrox.dev" 168 } 169 } 170 }, 171 "oauth": { 172 "autoLaunch": false, 173 "autoRegister": true, 174 "buttonText": "Login with Pocket-ID", 175 "clientId": "f1312240-d9fc-4336-aca6-b98316867848", 176 "defaultStorageQuota": null, 177 "enabled": true, 178 "issuerUrl": "https://auth.pyrox.dev", 179 "mobileOverrideEnabled": false, 180 "mobileRedirectUri": "", 181 "profileSigningAlgorithm": "none", 182 "roleClaim": "immich_role", 183 "scope": "openid email profile immich_role", 184 "signingAlgorithm": "RS256", 185 "storageLabelClaim": "preferred_username", 186 "storageQuotaClaim": "immich_quota", 187 "timeout": 30000, 188 "tokenEndpointAuthMethod": "client_secret_post" 189 }, 190 "passwordLogin": { 191 "enabled": true 192 }, 193 "reverseGeocoding": { 194 "enabled": true 195 }, 196 "server": { 197 "externalDomain": "https://img.pyrox.dev", 198 "loginPageMessage": "", 199 "publicUsers": true 200 }, 201 "storageTemplate": { 202 "enabled": false, 203 "hashVerificationEnabled": true, 204 "template": "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}" 205 }, 206 "templates": { 207 "email": { 208 "albumInviteTemplate": "", 209 "albumUpdateTemplate": "", 210 "welcomeTemplate": "" 211 } 212 }, 213 "theme": { 214 "customCss": "" 215 }, 216 "trash": { 217 "days": 30, 218 "enabled": true 219 }, 220 "user": { 221 "deleteDelay": 7 222 } 223}