summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorcaley <195605706+cqley@users.noreply.github.com>2026-07-29 15:23:22 +0200
committerGitHub <noreply@github.com>2026-07-29 15:23:22 +0200
commit3416519d18c22834bd582c7c0a52a70d5ec1ad8c (patch)
treedae4b6ed3acd69bc661497b54dd438886189216f /nixos
parent647190d62d601ffdc5548226297be51e42a61e11 (diff)
Add immich service configuration to NixOS
Diffstat (limited to 'nixos')
-rw-r--r--nixos/hosts/bin/components/immich.nix10
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";
+ };
+}