immich: init
This commit is contained in:
parent
db13bc801c
commit
42aa8b3a78
10 changed files with 259 additions and 0 deletions
19
hosts/immich/immich.nix
Normal file
19
hosts/immich/immich.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."immich.yaml" = {
|
||||
sopsFile = ./immich.yaml;
|
||||
owner = config.services.immich.user;
|
||||
key = "";
|
||||
};
|
||||
|
||||
services.immich = {
|
||||
enable = true;
|
||||
host = "10.89.88.13";
|
||||
redis.enable = true;
|
||||
database.createDB = true;
|
||||
settings = null; # has to contain secrets https://github.com/immich-app/immich/discussions/14815
|
||||
environment = {
|
||||
IMMICH_CONFIG_FILE = config.sops.secrets."immich.yaml".path;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue