Added Immich service
This commit is contained in:
parent
feef193d6e
commit
18021fb910
7 changed files with 147 additions and 0 deletions
|
|
@ -55,6 +55,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
immich.proxy = {
|
||||
enable = true;
|
||||
domain = p.domains.public;
|
||||
host = p.hosts.immich;
|
||||
};
|
||||
|
||||
media-mgr = {
|
||||
proxy = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -222,4 +222,15 @@ in
|
|||
# specialArgs = { };
|
||||
};
|
||||
|
||||
immich = nixpkgs.lib.nixosSystem {
|
||||
pkgs = pkgs "x86_64-linux";
|
||||
modules = [
|
||||
myModules
|
||||
proxmoxModule
|
||||
./immich
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
# specialArgs = { };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ in
|
|||
"nextcloud"
|
||||
"portainer"
|
||||
"vaultwarden"
|
||||
"immich"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -134,6 +135,15 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
immich.deployment = {
|
||||
targetHost = hosts.immich;
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"immich"
|
||||
];
|
||||
};
|
||||
|
||||
deadbeef.deployment = {
|
||||
allowLocalDeployment = true;
|
||||
targetHost = null;
|
||||
|
|
|
|||
32
hosts/immich/default.nix
Normal file
32
hosts/immich/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
services.immich = {
|
||||
enable = true;
|
||||
mediaDir = "/mnt/immich";
|
||||
};
|
||||
|
||||
networking.nas-samba-share = {
|
||||
enable = true;
|
||||
allowUsers = [ config.services.immich.user ];
|
||||
};
|
||||
|
||||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
shadowsocks = "shadowsocks.internal";
|
||||
mpd = "192.168.1.7";
|
||||
librechat = "librechat.internal";
|
||||
immich = "immich.internal";
|
||||
};
|
||||
domains = {
|
||||
public = "pasetto.me";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue