mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds immich configuration to services
This commit is contained in:
parent
23670bf1db
commit
df1ba52d7d
1 changed files with 23 additions and 0 deletions
23
modules/services/immich.nix
Normal file
23
modules/services/immich.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, ... }: {
|
||||
services.immich = {
|
||||
enable = true;
|
||||
port = 2283;
|
||||
accelerationDevices = /dev/dri/card0;
|
||||
};
|
||||
|
||||
# services.nginx.virtualHosts."" = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://localhost:${toString config.services.immich.port}";
|
||||
# proxyWebsockets = true;
|
||||
# recommendedProxySettings = true;
|
||||
# extraConfig = ''
|
||||
# client_max_body_size 50000M;
|
||||
# proxy_read_timeout 600s;
|
||||
# proxy_send_timeout 600s;
|
||||
# send_timeout 600s;
|
||||
# '';
|
||||
# };
|
||||
# };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue