backyard: add immich dataset and server

This commit is contained in:
Tim Van Baak 2024-12-02 05:38:51 +00:00
parent dac34829eb
commit aa4b3d83b2
3 changed files with 19 additions and 0 deletions

View File

@ -5,6 +5,7 @@
./hardware-configuration.nix
./filesystems.nix
./fileserver.nix
./immich.nix
./jellyfin.nix
./samba.nix
];

View File

@ -33,6 +33,8 @@ in
"/home/tvb/image" = zfsMount "pool/user/tvb/image";
"/pool/tvb/image" = bindMount "/home/tvb/image";
"/pool/immich" = zfsMount "pool/immich";
};
swapDevices = [ { device = "/dev/disk/by-uuid/cc464bb4-e1c8-46c0-adbb-ea1a3cfa5b03"; } ];

View File

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
services.immich = {
enable = true;
host = "10.22.20.8";
port = 2283;
openFirewall = true;
machine-learning.enable = false;
mediaLocation = "/pool/immich";
settings = {
machineLearning.enabled = false;
newVersionCheck.enabled = false;
};
};
}