hippocampus: immich: enable
This commit is contained in:
@@ -53,5 +53,8 @@
|
|||||||
|
|
||||||
# Matrix services
|
# Matrix services
|
||||||
./public/matrix.nix
|
./public/matrix.nix
|
||||||
|
|
||||||
|
# Immich Photo Backups
|
||||||
|
./public/immich.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
13
machines/hippocampus/servers/public/immich.nix
Normal file
13
machines/hippocampus/servers/public/immich.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
services.immich = {
|
||||||
|
enable = true;
|
||||||
|
mediaLocation = "/mass/immich";
|
||||||
|
};
|
||||||
|
services.caddy.virtualHosts = {
|
||||||
|
"photos.crompton.cc" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:${toString config.services.immich.port}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user