immich: Move out of container
This commit is contained in:
parent
aaf705b7d6
commit
c7c1f6f2cf
5 changed files with 14 additions and 29 deletions
|
|
@ -79,5 +79,5 @@
|
||||||
|
|
||||||
i18n.defaultLocale = "de_DE.UTF-8";
|
i18n.defaultLocale = "de_DE.UTF-8";
|
||||||
|
|
||||||
system.stateVersion = "23.11"; # Don't change!
|
system.stateVersion = "25.11"; # Don't change!
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
home = {
|
home = {
|
||||||
username = "jan";
|
username = "jan";
|
||||||
homeDirectory = "/Users/jan";
|
homeDirectory = "/Users/jan";
|
||||||
stateVersion = "24.05";
|
stateVersion = "25.11";
|
||||||
|
|
||||||
## Mute login message in terminal
|
## Mute login message in terminal
|
||||||
file.".hushlogin".text = "";
|
file.".hushlogin".text = "";
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./copyparty.nix
|
./copyparty.nix
|
||||||
# ./forgejo.nix
|
# ./forgejo.nix
|
||||||
# ./immich.nix
|
./immich.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
# ./minecraft.nix
|
# ./minecraft.nix
|
||||||
./samba.nix
|
./samba.nix
|
||||||
|
|
|
||||||
|
|
@ -1,30 +1,10 @@
|
||||||
{
|
{
|
||||||
containers.photos = {
|
services = {
|
||||||
autoStart = true;
|
immich = {
|
||||||
|
enable = true;
|
||||||
bindMounts = {
|
# port = 2283;
|
||||||
"/var/lib/immich" = {
|
accelerationDevices = [ "/dev/dri/renderD128" ];
|
||||||
hostPath = "/mnt/sdb1/photos";
|
mediaLocation = "/mnt/sdb1/photos";
|
||||||
isReadOnly = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
|
||||||
services = {
|
|
||||||
immich = {
|
|
||||||
enable = true;
|
|
||||||
# port = 2283;
|
|
||||||
host = "photos.alpine-centauri.ts.net";
|
|
||||||
};
|
|
||||||
|
|
||||||
tailscale = {
|
|
||||||
enable = true;
|
|
||||||
useRoutingFeatures = "server";
|
|
||||||
interfaceName = "userspace-networking";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,11 @@
|
||||||
"tcp:443" = "https://localhost:8096";
|
"tcp:443" = "https://localhost:8096";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
photos = {
|
||||||
|
endpoints = {
|
||||||
|
"tcp:443" = "https://localhost:2283";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue