migrating immich
This commit is contained in:
1 parent
cd48b65656
commit
8a253f82c9
2 files changed
+17
-17
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./nix-serve.nix
|
./nix-serve.nix
|
||||||
./nfs-server.nix
|
./nfs-server.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
+12
-12
@@ -68,17 +68,17 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
container-services = rec {
|
container-services = rec {
|
||||||
makeNfsVolumeFactory = host: exportPath: {
|
makeNfsVolumeFactory = host: exportPath: {
|
||||||
driver_opts = {
|
driver_opts = {
|
||||||
type = "nfs";
|
type = "nfs";
|
||||||
o = "addr=${host},rw,nfsvers=4.0,nolock,hard,noatime";
|
o = "addr=${host},rw,nfsvers=4.0,nolock,hard,noatime";
|
||||||
device = ":${exportPath}";
|
device = ":${exportPath}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nfsVols = {
|
nfsVols = {
|
||||||
terra1 = makeNfsVolumeFactory "terra1.lab.internal";
|
terra1 = makeNfsVolumeFactory "terra1.lab.internal";
|
||||||
tnas1 = makeNfsVolumeFactory "tnas1.lab.internal";
|
tnas1 = makeNfsVolumeFactory "tnas1.lab.internal";
|
||||||
bigbox2 = makeNfsVolumeFactory "bigbox2.lab.internal";
|
bigbox2 = makeNfsVolumeFactory "bigbox2.lab.internal";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user