diff options
| author | caley <195605706+cqley@users.noreply.github.com> | 2026-07-29 15:23:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-29 15:23:22 +0200 |
| commit | 3416519d18c22834bd582c7c0a52a70d5ec1ad8c (patch) | |
| tree | dae4b6ed3acd69bc661497b54dd438886189216f /nixos/hosts/bin | |
| parent | 647190d62d601ffdc5548226297be51e42a61e11 (diff) | |
Add immich service configuration to NixOS
Diffstat (limited to 'nixos/hosts/bin')
| -rw-r--r-- | nixos/hosts/bin/components/immich.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/hosts/bin/components/immich.nix b/nixos/hosts/bin/components/immich.nix new file mode 100644 index 0000000..82fd0d3 --- /dev/null +++ b/nixos/hosts/bin/components/immich.nix @@ -0,0 +1,10 @@ +{ + networking.firewall.allowedTCPPorts = [ 2283 ]; + + services.immich = { + enable = true; + host = "10.0.0.1"; + port = 2283; + mediaLocation = "/var/lib/immich"; + }; +} |
