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 = [
|
||||
./nix-serve.nix
|
||||
./nfs-server.nix
|
||||
./immich.nix
|
||||
];
|
||||
imports = [
|
||||
./nix-serve.nix
|
||||
./nfs-server.nix
|
||||
./immich.nix
|
||||
];
|
||||
}
|
||||
+12
-12
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user