remove immich
This commit is contained in:
parent
1f776ec51d
commit
ea1ad13c53
|
@ -10,7 +10,6 @@
|
||||||
./services/borgbackup
|
./services/borgbackup
|
||||||
./services/crowdsec
|
./services/crowdsec
|
||||||
./services/forgejo
|
./services/forgejo
|
||||||
./services/immich
|
|
||||||
./services/lighttpd
|
./services/lighttpd
|
||||||
./services/minecraft
|
./services/minecraft
|
||||||
./services/mpd
|
./services/mpd
|
||||||
|
|
|
@ -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";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
age-encryption.org/v1
|
|
||||||
-> piv-p256 hdSnGw Ave/yX17ylsK6RI5ei/oxD58h8nzXisgLiNvs8p7PKd4
|
|
||||||
eUz/WZTS3nQ8IyeBZd2/zzW4hjRexuYUuGAiLRFamb4
|
|
||||||
-> C[:7-grease
|
|
||||||
tVpdl3Ch
|
|
||||||
--- wTWoOAjmo0FL1kNZ/6QIMSwA4IV6XQkZLbWobJjnlPY
|
|
||||||
HÚ’#º-Øth„î("ÎI
|
|
||||||
t-FmšÔƒK•cÿ×F´SPdBÃ5–
|
|
||||||
H%LOˆÅØ=½P‚Ìÿ
|
|
Loading…
Reference in a new issue