re-enable immich
This commit is contained in:
parent
49af61608f
commit
1c0dd07612
1
data.nix
1
data.nix
@ -195,6 +195,7 @@ rec {
|
|||||||
@ NS ns2.jakstys.lt.
|
@ NS ns2.jakstys.lt.
|
||||||
@ A ${vno1}
|
@ A ${vno1}
|
||||||
www A ${vno1}
|
www A ${vno1}
|
||||||
|
photos A ${vno1}
|
||||||
ns1 A ${vno1}
|
ns1 A ${vno1}
|
||||||
ns2 A ${fra1b}
|
ns2 A ${fra1b}
|
||||||
vpn A ${vno1}
|
vpn A ${vno1}
|
||||||
|
@ -442,7 +442,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
immich = {
|
immich = {
|
||||||
enable = false;
|
enable = true;
|
||||||
paths = {
|
paths = {
|
||||||
"M-Camera" = "/home/motiejus/annex2/M-Active";
|
"M-Camera" = "/home/motiejus/annex2/M-Active";
|
||||||
"Pictures" = "/home/motiejus/annex2/Pictures";
|
"Pictures" = "/home/motiejus/annex2/Pictures";
|
||||||
|
@ -24,12 +24,10 @@ in
|
|||||||
package = pkgs.pkgs-unstable.immich;
|
package = pkgs.pkgs-unstable.immich;
|
||||||
};
|
};
|
||||||
|
|
||||||
mj.services.friendlyport.ports = [
|
services.caddy.virtualHosts."photos.jakstys.lt:80".extraConfig = ''
|
||||||
{
|
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
||||||
subnets = [ myData.subnets.tailscale.cidr ];
|
reverse_proxy 127.0.0.1:${toString myData.ports.immich-server}
|
||||||
tcp = [ myData.ports.immich-server ];
|
'';
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
#systemd = {
|
#systemd = {
|
||||||
# #tmpfiles.rules = [ "d /var/cache/immich/userdata 0700 immich immich -" ];
|
# #tmpfiles.rules = [ "d /var/cache/immich/userdata 0700 immich immich -" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user