nixos/shill: Add MinIO container
This commit is contained in:
@@ -70,9 +70,14 @@
|
||||
device = "/dev/disk/by-label/media";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/mnt/minio" = {
|
||||
device = "/dev/disk/by-label/minio";
|
||||
fsType = "xfs";
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
fstrim.enable = true;
|
||||
netdata.enable = true;
|
||||
};
|
||||
|
||||
@@ -140,6 +145,11 @@
|
||||
"/mnt/media".readOnly = false;
|
||||
};
|
||||
};
|
||||
object = {
|
||||
bindMounts = {
|
||||
"/mnt/minio".readOnly = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
mkMerge [
|
||||
|
Reference in New Issue
Block a user