Compare commits

...

2 commits

Author SHA1 Message Date
Amanda Graven 782ce76ce4
Add immich 2025-03-23 18:10:55 +01:00
Amanda Graven 2210d8eecf
Bump nixpkgs 2025-03-23 18:10:23 +01:00
4 changed files with 33 additions and 9 deletions
config
hosts/rudiger
sources/nix

View file

@ -10,6 +10,7 @@
../../common/services/tailscale.nix
../../common/users.nix
./services/acme.nix
./services/immich.nix
./services/nextcloud.nix
./services/nginx.nix
./services/postgres.nix

View file

@ -0,0 +1,8 @@
{ ... }:
{
services.immich = {
enable = true;
port = 2283;
}
}

View file

@ -5,4 +5,19 @@
enableACME = true;
forceSSL = true;
};
services.immich.virtualHosts."immich.graven.dev" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://[::1]:${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;
'';
}
}
}

View file

@ -5,10 +5,10 @@
"homepage": "https://github.com/nmattia/niv",
"owner": "nmattia",
"repo": "niv",
"rev": "e2f66fe558481d6b569358d27db06f7e972ed71b",
"sha256": "1xn822jajags6bigdr1ssxvfiyd7d3adhnmmrr9x3maphchkr0x0",
"rev": "dd678782cae74508d6b4824580d2b0935308011e",
"sha256": "0dk8dhh9vla2s409anmrfkva6h3r32xmz3cm8ha09wyk8iyf1f87",
"type": "tarball",
"url": "https://github.com/nmattia/niv/archive/e2f66fe558481d6b569358d27db06f7e972ed71b.tar.gz",
"url": "https://github.com/nmattia/niv/archive/dd678782cae74508d6b4824580d2b0935308011e.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixos-hardware": {
@ -17,10 +17,10 @@
"homepage": "",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "2eccff41bab80839b1d25b303b53d339fbb07087",
"sha256": "18mvkhlzlws28brxmjw2igwmxsrh8v3plixywlbrg6hpiy1na977",
"rev": "380ed15bcd6440606c6856db44a99140d422b46f",
"sha256": "1gry924avdpja2hmxycjsii09ryz56jrils6jx90q65c14wcx7f8",
"type": "tarball",
"url": "https://github.com/NixOS/nixos-hardware/archive/2eccff41bab80839b1d25b303b53d339fbb07087.tar.gz",
"url": "https://github.com/NixOS/nixos-hardware/archive/380ed15bcd6440606c6856db44a99140d422b46f.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
@ -29,10 +29,10 @@
"homepage": "",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f5a32fa27df91dfc4b762671a0e0a859a8a0058f",
"sha256": "0w84lcpxxqzpab7qrdrf4szpij27q906kgckclqxb3q533ir07zg",
"rev": "7105ae3957700a9646cc4b766f5815b23ed0c682",
"sha256": "0j3jd82iyyck4hpmz7pkak1v27l7pydl0c3vvyz6wfpi612x8xzi",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/f5a32fa27df91dfc4b762671a0e0a859a8a0058f.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/7105ae3957700a9646cc4b766f5815b23ed0c682.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixus": {