remove immich

This commit is contained in:
♥ Minnie ♥ 2024-11-22 07:16:18 +08:00
parent 1f776ec51d
commit ea1ad13c53
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 0 additions and 80 deletions

View file

@ -10,7 +10,6 @@
./services/borgbackup
./services/crowdsec
./services/forgejo
./services/immich
./services/lighttpd
./services/minecraft
./services/mpd

View file

@ -1,70 +0,0 @@
{
inputs,
pkgs,
config,
...
}: {
imports = [
"${inputs.nixpkgs-unstable}/nixos/modules/services/web-apps/immich.nix"
];
age.secrets.immich = {
rekeyFile = ./secrets.age;
owner = "immich";
group = "immich";
};
services.immich = {
enable = true;
package = pkgs.unstable.immich;
port = 5489;
host = "0.0.0.0";
openFirewall = true;
mediaLocation = "/var/lib/immich";
secretsFile = config.age.secrets.immich.path;
database = {
enable = true;
user = "immich";
name = "immich";
};
environment = {
TZ = "Australia/Perth";
DB_USERNAME = "immich";
DB_DATABASE_NAME = "immich";
};
};
services.traefik.dynamicConfigOptions.http.routers = {
immich = {
rule = "Host(`photos.kanto.dev`)";
entryPoints = [
"websecure"
];
middlewares = [
"internal"
];
service = "immich";
};
};
services.traefik.dynamicConfigOptions.http.services = {
immich.loadBalancer.servers = [
{url = "http://127.0.0.1:${toString config.services.immich.port}";}
];
};
environment.persistence."/persist" = {
directories = [
{
directory = "/var/lib/immich";
user = "immich";
group = "immich";
}
{
directory = "/var/lib/redis-immich";
user = "immich";
group = "immich";
}
];
};
}

View file

@ -1,9 +0,0 @@
age-encryption.org/v1
-> piv-p256 hdSnGw Ave/yX17ylsK6RI5ei/oxD58h8nzXisgLiNvs8p7PKd4
eUz/WZTS3nQ8IyeBZd2/zzW4hjRexuYUuGAiLRFamb4
-> C[:7-grease
tVpdl3Ch
--- wTWoOAjmo0FL1kNZ/6QIMSwA4IV6XQkZLbWobJjnlPY
#º-Øth­„î ("ÎI
t-FmšÔƒK•cÿ×F ´SPdBÃ5
H%LOˆÅØ=½PÌ ÿ