migrating immich

This commit is contained in:
ari committed 2026-10-13 19:52:54 -04:00
1 parent cd48b65656
commit 8a253f82c9
2 files changed
+17 -17

No files matched your search

+5 -5
View File
@@ -1,8 +1,8 @@
{ ... }:
{
imports = [
./nix-serve.nix
./nfs-server.nix
./immich.nix
];
imports = [
./nix-serve.nix
./nfs-server.nix
./immich.nix
];
}
+12 -12
View File
@@ -68,17 +68,17 @@
};
};
container-services = rec {
makeNfsVolumeFactory = host: exportPath: {
driver_opts = {
type = "nfs";
o = "addr=${host},rw,nfsvers=4.0,nolock,hard,noatime";
device = ":${exportPath}";
};
};
nfsVols = {
terra1 = makeNfsVolumeFactory "terra1.lab.internal";
tnas1 = makeNfsVolumeFactory "tnas1.lab.internal";
bigbox2 = makeNfsVolumeFactory "bigbox2.lab.internal";
};
makeNfsVolumeFactory = host: exportPath: {
driver_opts = {
type = "nfs";
o = "addr=${host},rw,nfsvers=4.0,nolock,hard,noatime";
device = ":${exportPath}";
};
};
nfsVols = {
terra1 = makeNfsVolumeFactory "terra1.lab.internal";
tnas1 = makeNfsVolumeFactory "tnas1.lab.internal";
bigbox2 = makeNfsVolumeFactory "bigbox2.lab.internal";
};
};
}