backyard: add immich dataset and server
This commit is contained in:
parent
dac34829eb
commit
aa4b3d83b2
@ -5,6 +5,7 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./filesystems.nix
|
./filesystems.nix
|
||||||
./fileserver.nix
|
./fileserver.nix
|
||||||
|
./immich.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./samba.nix
|
./samba.nix
|
||||||
];
|
];
|
||||||
|
@ -33,6 +33,8 @@ in
|
|||||||
|
|
||||||
"/home/tvb/image" = zfsMount "pool/user/tvb/image";
|
"/home/tvb/image" = zfsMount "pool/user/tvb/image";
|
||||||
"/pool/tvb/image" = bindMount "/home/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"; } ];
|
swapDevices = [ { device = "/dev/disk/by-uuid/cc464bb4-e1c8-46c0-adbb-ea1a3cfa5b03"; } ];
|
||||||
|
16
machine/backyard/immich.nix
Normal file
16
machine/backyard/immich.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user